pub struct PlatformPin {
pub store_key: String,
pub url: String,
pub size: Option<u64>,
pub sha256: String,
pub blake3: Option<String>,
pub signature: Option<String>,
pub bin: Vec<String>,
}Expand description
The per-platform artifact pin recorded in the lock.
Fields§
§store_key: String§url: String§size: Option<u64>§sha256: String§blake3: Option<String>§signature: Option<String>§bin: Vec<String>Trait Implementations§
Source§impl Clone for PlatformPin
impl Clone for PlatformPin
Source§fn clone(&self) -> PlatformPin
fn clone(&self) -> PlatformPin
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 PlatformPin
impl Debug for PlatformPin
Source§impl<'de> Deserialize<'de> for PlatformPin
impl<'de> Deserialize<'de> for PlatformPin
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 PartialEq for PlatformPin
impl PartialEq for PlatformPin
Source§fn eq(&self, other: &PlatformPin) -> bool
fn eq(&self, other: &PlatformPin) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlatformPin
impl Serialize for PlatformPin
impl StructuralPartialEq for PlatformPin
Auto Trait Implementations§
impl Freeze for PlatformPin
impl RefUnwindSafe for PlatformPin
impl Send for PlatformPin
impl Sync for PlatformPin
impl Unpin for PlatformPin
impl UnsafeUnpin for PlatformPin
impl UnwindSafe for PlatformPin
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