pub enum PackagePublishedPackagePackageType {
Npm,
Maven,
Rubygems,
Docker,
Nuget,
Container,
}
Expand description
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.
JSON schema
{
"description": "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.",
"type": "string",
"enum": [
"npm",
"maven",
"rubygems",
"docker",
"nuget",
"CONTAINER"
]
}
Variants§
Trait Implementations§
Source§impl Clone for PackagePublishedPackagePackageType
impl Clone for PackagePublishedPackagePackageType
Source§fn clone(&self) -> PackagePublishedPackagePackageType
fn clone(&self) -> PackagePublishedPackagePackageType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for PackagePublishedPackagePackageType
impl<'de> Deserialize<'de> for PackagePublishedPackagePackageType
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
Source§impl From<&PackagePublishedPackagePackageType> for PackagePublishedPackagePackageType
impl From<&PackagePublishedPackagePackageType> for PackagePublishedPackagePackageType
Source§fn from(value: &PackagePublishedPackagePackageType) -> Self
fn from(value: &PackagePublishedPackagePackageType) -> Self
Converts to this type from the input type.
Source§impl Ord for PackagePublishedPackagePackageType
impl Ord for PackagePublishedPackagePackageType
Source§fn cmp(&self, other: &PackagePublishedPackagePackageType) -> Ordering
fn cmp(&self, other: &PackagePublishedPackagePackageType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PackagePublishedPackagePackageType
impl PartialEq for PackagePublishedPackagePackageType
Source§fn eq(&self, other: &PackagePublishedPackagePackageType) -> bool
fn eq(&self, other: &PackagePublishedPackagePackageType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for PackagePublishedPackagePackageType
impl PartialOrd for PackagePublishedPackagePackageType
Source§impl TryFrom<&str> for PackagePublishedPackagePackageType
impl TryFrom<&str> for PackagePublishedPackagePackageType
impl Copy for PackagePublishedPackagePackageType
impl Eq for PackagePublishedPackagePackageType
impl StructuralPartialEq for PackagePublishedPackagePackageType
Auto Trait Implementations§
impl Freeze for PackagePublishedPackagePackageType
impl RefUnwindSafe for PackagePublishedPackagePackageType
impl Send for PackagePublishedPackagePackageType
impl Sync for PackagePublishedPackagePackageType
impl Unpin for PackagePublishedPackagePackageType
impl UnwindSafe for PackagePublishedPackagePackageType
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