pub enum RegistryPackagePublishedRegistryPackagePackageType {
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 RegistryPackagePublishedRegistryPackagePackageType
impl Clone for RegistryPackagePublishedRegistryPackagePackageType
Source§fn clone(&self) -> RegistryPackagePublishedRegistryPackagePackageType
fn clone(&self) -> RegistryPackagePublishedRegistryPackagePackageType
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 RegistryPackagePublishedRegistryPackagePackageType
impl<'de> Deserialize<'de> for RegistryPackagePublishedRegistryPackagePackageType
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<&RegistryPackagePublishedRegistryPackagePackageType> for RegistryPackagePublishedRegistryPackagePackageType
impl From<&RegistryPackagePublishedRegistryPackagePackageType> for RegistryPackagePublishedRegistryPackagePackageType
Source§fn from(value: &RegistryPackagePublishedRegistryPackagePackageType) -> Self
fn from(value: &RegistryPackagePublishedRegistryPackagePackageType) -> Self
Converts to this type from the input type.
Source§impl Ord for RegistryPackagePublishedRegistryPackagePackageType
impl Ord for RegistryPackagePublishedRegistryPackagePackageType
Source§fn cmp(
&self,
other: &RegistryPackagePublishedRegistryPackagePackageType,
) -> Ordering
fn cmp( &self, other: &RegistryPackagePublishedRegistryPackagePackageType, ) -> 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 RegistryPackagePublishedRegistryPackagePackageType
impl PartialEq for RegistryPackagePublishedRegistryPackagePackageType
Source§fn eq(&self, other: &RegistryPackagePublishedRegistryPackagePackageType) -> bool
fn eq(&self, other: &RegistryPackagePublishedRegistryPackagePackageType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for RegistryPackagePublishedRegistryPackagePackageType
impl PartialOrd for RegistryPackagePublishedRegistryPackagePackageType
impl Copy for RegistryPackagePublishedRegistryPackagePackageType
impl Eq for RegistryPackagePublishedRegistryPackagePackageType
impl StructuralPartialEq for RegistryPackagePublishedRegistryPackagePackageType
Auto Trait Implementations§
impl Freeze for RegistryPackagePublishedRegistryPackagePackageType
impl RefUnwindSafe for RegistryPackagePublishedRegistryPackagePackageType
impl Send for RegistryPackagePublishedRegistryPackagePackageType
impl Sync for RegistryPackagePublishedRegistryPackagePackageType
impl Unpin for RegistryPackagePublishedRegistryPackagePackageType
impl UnwindSafe for RegistryPackagePublishedRegistryPackagePackageType
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