pub struct VersionFile {
pub hashes: FileHashes,
pub url: String,
pub filename: String,
pub primary: bool,
}Fields§
§hashes: FileHashes§url: String§filename: String§primary: boolTrait Implementations§
Source§impl Clone for VersionFile
impl Clone for VersionFile
Source§fn clone(&self) -> VersionFile
fn clone(&self) -> VersionFile
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 VersionFile
impl Debug for VersionFile
Source§impl<'de> Deserialize<'de> for VersionFile
impl<'de> Deserialize<'de> for VersionFile
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 Hash for VersionFile
impl Hash for VersionFile
Source§impl PartialEq for VersionFile
impl PartialEq for VersionFile
Source§fn eq(&self, other: &VersionFile) -> bool
fn eq(&self, other: &VersionFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VersionFile
impl Serialize for VersionFile
impl Eq for VersionFile
impl StructuralPartialEq for VersionFile
Auto Trait Implementations§
impl Freeze for VersionFile
impl RefUnwindSafe for VersionFile
impl Send for VersionFile
impl Sync for VersionFile
impl Unpin for VersionFile
impl UnsafeUnpin for VersionFile
impl UnwindSafe for VersionFile
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