pub struct RegistryVersionEntry {
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
RegistryVersionEntry 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 RegistryVersionEntry
impl Clone for RegistryVersionEntry
Source§fn clone(&self) -> RegistryVersionEntry
fn clone(&self) -> RegistryVersionEntry
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 RegistryVersionEntry
impl Debug for RegistryVersionEntry
Source§impl Default for RegistryVersionEntry
impl Default for RegistryVersionEntry
Source§fn default() -> RegistryVersionEntry
fn default() -> RegistryVersionEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistryVersionEntry
impl<'de> Deserialize<'de> for RegistryVersionEntry
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 RegistryVersionEntry
impl PartialEq for RegistryVersionEntry
Source§impl Serialize for RegistryVersionEntry
impl Serialize for RegistryVersionEntry
impl StructuralPartialEq for RegistryVersionEntry
Auto Trait Implementations§
impl Freeze for RegistryVersionEntry
impl RefUnwindSafe for RegistryVersionEntry
impl Send for RegistryVersionEntry
impl Sync for RegistryVersionEntry
impl Unpin for RegistryVersionEntry
impl UnsafeUnpin for RegistryVersionEntry
impl UnwindSafe for RegistryVersionEntry
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