pub struct RegistryPackageVersion {Show 13 fields
pub version: String,
pub artifact: String,
pub artifact_hash: Option<String>,
pub tree_hash: Option<String>,
pub yanked: bool,
pub targets: Vec<String>,
pub exports: Vec<String>,
pub signer: Option<String>,
pub signer_fingerprint: Option<String>,
pub signer_public_key: Option<String>,
pub published_at: Option<String>,
pub signature: Option<String>,
pub derived_metadata: Option<RegistryDerivedMetadata>,
}Fields§
§version: String§artifact: String§artifact_hash: Option<String>§tree_hash: Option<String>§yanked: bool§targets: Vec<String>§exports: Vec<String>§signer: Option<String>§signer_fingerprint: Option<String>§signer_public_key: Option<String>§published_at: Option<String>§signature: Option<String>§derived_metadata: Option<RegistryDerivedMetadata>Implementations§
Source§impl RegistryPackageVersion
impl RegistryPackageVersion
pub fn same_identity(&self, other: &Self) -> bool
pub fn merge_annotations_from(&mut self, other: &Self)
Trait Implementations§
Source§impl Clone for RegistryPackageVersion
impl Clone for RegistryPackageVersion
Source§fn clone(&self) -> RegistryPackageVersion
fn clone(&self) -> RegistryPackageVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegistryPackageVersion
impl Debug for RegistryPackageVersion
Source§impl Default for RegistryPackageVersion
impl Default for RegistryPackageVersion
Source§fn default() -> RegistryPackageVersion
fn default() -> RegistryPackageVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistryPackageVersion
impl<'de> Deserialize<'de> for RegistryPackageVersion
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
impl Eq for RegistryPackageVersion
Source§impl PartialEq for RegistryPackageVersion
impl PartialEq for RegistryPackageVersion
Source§impl Serialize for RegistryPackageVersion
impl Serialize for RegistryPackageVersion
impl StructuralPartialEq for RegistryPackageVersion
Auto Trait Implementations§
impl Freeze for RegistryPackageVersion
impl RefUnwindSafe for RegistryPackageVersion
impl Send for RegistryPackageVersion
impl Sync for RegistryPackageVersion
impl Unpin for RegistryPackageVersion
impl UnsafeUnpin for RegistryPackageVersion
impl UnwindSafe for RegistryPackageVersion
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