pub struct RegistryGetSparseIndexResponseVersion {
pub version: String,
pub sha256: String,
pub dependencies: Vec<ResolvedDep>,
pub yanked: bool,
pub yank_reason: Option<String>,
pub size: Option<i64>,
pub published_at: String,
}Expand description
RegistryGetSparseIndexResponseVersion model.
Fields§
§version: String§sha256: String§dependencies: Vec<ResolvedDep>§yanked: bool§yank_reason: Option<String>§size: Option<i64>§published_at: StringTrait Implementations§
Source§impl Clone for RegistryGetSparseIndexResponseVersion
impl Clone for RegistryGetSparseIndexResponseVersion
Source§fn clone(&self) -> RegistryGetSparseIndexResponseVersion
fn clone(&self) -> RegistryGetSparseIndexResponseVersion
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 Default for RegistryGetSparseIndexResponseVersion
impl Default for RegistryGetSparseIndexResponseVersion
Source§fn default() -> RegistryGetSparseIndexResponseVersion
fn default() -> RegistryGetSparseIndexResponseVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistryGetSparseIndexResponseVersion
impl<'de> Deserialize<'de> for RegistryGetSparseIndexResponseVersion
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 StructuralPartialEq for RegistryGetSparseIndexResponseVersion
Auto Trait Implementations§
impl Freeze for RegistryGetSparseIndexResponseVersion
impl RefUnwindSafe for RegistryGetSparseIndexResponseVersion
impl Send for RegistryGetSparseIndexResponseVersion
impl Sync for RegistryGetSparseIndexResponseVersion
impl Unpin for RegistryGetSparseIndexResponseVersion
impl UnsafeUnpin for RegistryGetSparseIndexResponseVersion
impl UnwindSafe for RegistryGetSparseIndexResponseVersion
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