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>
§source_url: Option<&'a str>
§installation_command: &'a str
Trait Implementations§
source§impl<'a> Debug for PackagePublishedEventPackagePackageVersion<'a>
impl<'a> Debug for PackagePublishedEventPackagePackageVersion<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for PackagePublishedEventPackagePackageVersion<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PackagePublishedEventPackagePackageVersion<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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§
impl<'a> RefUnwindSafe for PackagePublishedEventPackagePackageVersion<'a>
impl<'a> Send for PackagePublishedEventPackagePackageVersion<'a>
impl<'a> Sync for PackagePublishedEventPackagePackageVersion<'a>
impl<'a> Unpin for PackagePublishedEventPackagePackageVersion<'a>
impl<'a> UnwindSafe for PackagePublishedEventPackagePackageVersion<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more