Struct oro_common::CorgiVersionMetadata
source · pub struct CorgiVersionMetadata {
pub dist: CorgiDist,
pub has_shrinkwrap: Option<bool>,
pub manifest: CorgiManifest,
pub deprecated: Option<String>,
}Expand description
A manifest for an individual package version.
This version is a reduced-size VersionMetadata that only contains fields from “Corgi” packuments (or will only (de)serialize those specific fields).
Fields§
§dist: CorgiDist§has_shrinkwrap: Option<bool>§manifest: CorgiManifest§deprecated: Option<String>Trait Implementations§
source§impl Clone for CorgiVersionMetadata
impl Clone for CorgiVersionMetadata
source§fn clone(&self) -> CorgiVersionMetadata
fn clone(&self) -> CorgiVersionMetadata
Returns a copy 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 Debug for CorgiVersionMetadata
impl Debug for CorgiVersionMetadata
source§impl Default for CorgiVersionMetadata
impl Default for CorgiVersionMetadata
source§fn default() -> CorgiVersionMetadata
fn default() -> CorgiVersionMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CorgiVersionMetadata
impl<'de> Deserialize<'de> for CorgiVersionMetadata
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<CorgiManifest> for CorgiVersionMetadata
impl From<CorgiManifest> for CorgiVersionMetadata
source§fn from(value: CorgiManifest) -> Self
fn from(value: CorgiManifest) -> Self
Converts to this type from the input type.
source§impl From<CorgiVersionMetadata> for CorgiManifest
impl From<CorgiVersionMetadata> for CorgiManifest
source§fn from(value: CorgiVersionMetadata) -> Self
fn from(value: CorgiVersionMetadata) -> Self
Converts to this type from the input type.
source§impl From<CorgiVersionMetadata> for VersionMetadata
impl From<CorgiVersionMetadata> for VersionMetadata
source§fn from(value: CorgiVersionMetadata) -> Self
fn from(value: CorgiVersionMetadata) -> Self
Converts to this type from the input type.
source§impl From<VersionMetadata> for CorgiVersionMetadata
impl From<VersionMetadata> for CorgiVersionMetadata
source§fn from(value: VersionMetadata) -> Self
fn from(value: VersionMetadata) -> Self
Converts to this type from the input type.
source§impl PartialEq<CorgiVersionMetadata> for CorgiVersionMetadata
impl PartialEq<CorgiVersionMetadata> for CorgiVersionMetadata
source§fn eq(&self, other: &CorgiVersionMetadata) -> bool
fn eq(&self, other: &CorgiVersionMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.