pub struct PackagePublishedEventPackagePackageVersion<'a> {
Show 28 fields pub id: usize, pub version: &'a str, pub summary: &'a str, pub name: &'a str, pub description: &'a str, pub body: Option<PackagePublishedEventPackagePackageVersionBodyUnion<'a>>, pub body_html: Option<&'a str>, pub release: Option<PackagePublishedEventPackagePackageVersionRelease<'a>>, pub manifest: Option<&'a str>, pub html_url: &'a str, pub tag_name: Option<&'a str>, pub target_commitish: Option<&'a str>, pub target_oid: Option<&'a str>, pub draft: Option<bool>, pub prerelease: Option<bool>, pub created_at: Option<&'a str>, pub updated_at: Option<&'a str>, pub metadata: Vec<Value>, pub container_metadata: Option<PackagePublishedEventPackagePackageVersionContainerMetadata<'a>>, pub docker_metadata: Option<Vec<Value>>, pub npm_metadata: Option<PackageNPMMetadata<'a>>, pub nuget_metadata: Option<Vec<PackageNugetMetadata<'a>>>, pub rubygems_metadata: Option<Vec<Value>>, pub package_files: Vec<PackagePublishedEventPackagePackageVersionPackageFiles<'a>>, pub package_url: Option<&'a str>, pub author: Option<User<'a>>, pub source_url: Option<&'a str>, pub installation_command: &'a str,
}

Fields§

§id: usize

Unique identifier of the package version.

§version: &'a str§summary: &'a str§name: &'a str

The name of the package version.

§description: &'a str§body: Option<PackagePublishedEventPackagePackageVersionBodyUnion<'a>>§body_html: Option<&'a str>§release: Option<PackagePublishedEventPackagePackageVersionRelease<'a>>§manifest: Option<&'a str>§html_url: &'a str§tag_name: Option<&'a str>§target_commitish: Option<&'a str>§target_oid: Option<&'a str>§draft: Option<bool>§prerelease: Option<bool>§created_at: Option<&'a str>§updated_at: Option<&'a str>§metadata: Vec<Value>

Package Version Metadata

§container_metadata: Option<PackagePublishedEventPackagePackageVersionContainerMetadata<'a>>§docker_metadata: Option<Vec<Value>>§npm_metadata: Option<PackageNPMMetadata<'a>>§nuget_metadata: Option<Vec<PackageNugetMetadata<'a>>>§rubygems_metadata: Option<Vec<Value>>§package_files: Vec<PackagePublishedEventPackagePackageVersionPackageFiles<'a>>§package_url: Option<&'a str>§author: Option<User<'a>>§source_url: Option<&'a str>§installation_command: &'a str

Trait Implementations§

source§

impl<'a> Debug for PackagePublishedEventPackagePackageVersion<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for PackagePublishedEventPackagePackageVersion<'a>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,