pub struct PackagePublishedEventPackage<'a> {
pub id: usize,
pub name: &'a str,
pub namespace: &'a str,
pub description: Option<&'a str>,
pub ecosystem: &'a str,
pub package_type: PackagePublishedEventPackagePackageType,
pub html_url: &'a str,
pub created_at: &'a str,
pub updated_at: &'a str,
pub owner: User<'a>,
pub package_version: Option<PackagePublishedEventPackagePackageVersion<'a>>,
pub registry: PackagePublishedEventPackageRegistry<'a>,
}
Fields§
§id: usize
Unique identifier of the package.
name: &'a str
The name of the package.
namespace: &'a str
§description: Option<&'a str>
§ecosystem: &'a str
§package_type: PackagePublishedEventPackagePackageType
The type of supported package. Packages in GitHub’s Gradle registry have the type maven
. Docker images pushed to GitHub’s Container registry (ghcr.io
) have the type container
. You can use the type docker
to find images that were pushed to GitHub’s Docker registry (docker.pkg.github.com
), even if these have now been migrated to the Container registry.
html_url: &'a str
§created_at: &'a str
§updated_at: &'a str
§owner: User<'a>
§package_version: Option<PackagePublishedEventPackagePackageVersion<'a>>
A version of a software package
registry: PackagePublishedEventPackageRegistry<'a>
Trait Implementations§
source§impl<'a> Debug for PackagePublishedEventPackage<'a>
impl<'a> Debug for PackagePublishedEventPackage<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for PackagePublishedEventPackage<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PackagePublishedEventPackage<'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 PackagePublishedEventPackage<'a>
impl<'a> Send for PackagePublishedEventPackage<'a>
impl<'a> Sync for PackagePublishedEventPackage<'a>
impl<'a> Unpin for PackagePublishedEventPackage<'a>
impl<'a> UnwindSafe for PackagePublishedEventPackage<'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