Struct github_webhook::payload_types::RegistryPackageUpdatedEventRegistryPackagePackageVersion
source · pub struct RegistryPackageUpdatedEventRegistryPackagePackageVersion<'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<RegistryPackageUpdatedEventRegistryPackagePackageVersionBodyUnion<'a>>,
pub body_html: Option<&'a str>,
pub release: Option<RegistryPackageUpdatedEventRegistryPackagePackageVersionRelease<'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 docker_metadata: Option<Vec<Value>>,
pub container_metadata: Option<RegistryPackageUpdatedEventRegistryPackagePackageVersionContainerMetadata<'a>>,
pub npm_metadata: Option<PackageNPMMetadata<'a>>,
pub nuget_metadata: Option<Vec<PackageNugetMetadata<'a>>>,
pub rubygems_metadata: Option<Vec<Value>>,
pub package_files: Vec<RegistryPackageUpdatedEventRegistryPackagePackageVersionPackageFiles<'a>>,
pub package_url: Option<&'a str>,
pub author: Option<RegistryPackageUpdatedEventRegistryPackagePackageVersionAuthor<'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<RegistryPackageUpdatedEventRegistryPackagePackageVersionBodyUnion<'a>>
§body_html: Option<&'a str>
§release: Option<RegistryPackageUpdatedEventRegistryPackagePackageVersionRelease<'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
docker_metadata: Option<Vec<Value>>
§container_metadata: Option<RegistryPackageUpdatedEventRegistryPackagePackageVersionContainerMetadata<'a>>
§npm_metadata: Option<PackageNPMMetadata<'a>>
§nuget_metadata: Option<Vec<PackageNugetMetadata<'a>>>
§rubygems_metadata: Option<Vec<Value>>
§package_files: Vec<RegistryPackageUpdatedEventRegistryPackagePackageVersionPackageFiles<'a>>
§package_url: Option<&'a str>
§source_url: Option<&'a str>
§installation_command: &'a str
Trait Implementations§
source§impl<'a> Debug for RegistryPackageUpdatedEventRegistryPackagePackageVersion<'a>
impl<'a> Debug for RegistryPackageUpdatedEventRegistryPackagePackageVersion<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for RegistryPackageUpdatedEventRegistryPackagePackageVersion<'a>
impl<'de: 'a, 'a> Deserialize<'de> for RegistryPackageUpdatedEventRegistryPackagePackageVersion<'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 RegistryPackageUpdatedEventRegistryPackagePackageVersion<'a>
impl<'a> Send for RegistryPackageUpdatedEventRegistryPackagePackageVersion<'a>
impl<'a> Sync for RegistryPackageUpdatedEventRegistryPackagePackageVersion<'a>
impl<'a> Unpin for RegistryPackageUpdatedEventRegistryPackagePackageVersion<'a>
impl<'a> UnwindSafe for RegistryPackageUpdatedEventRegistryPackagePackageVersion<'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