pub struct FileContents {
pub compression: Option<String>,
pub source: Option<String>,
pub verification: Option<Verification>,
}Fields§
§compression: Option<String>§source: Option<String>§verification: Option<Verification>Trait Implementations§
Source§impl Clone for FileContents
impl Clone for FileContents
Source§fn clone(&self) -> FileContents
fn clone(&self) -> FileContents
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 FileContents
impl Debug for FileContents
Source§impl Default for FileContents
impl Default for FileContents
Source§fn default() -> FileContents
fn default() -> FileContents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileContents
impl<'de> Deserialize<'de> for FileContents
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 FileContents
impl PartialEq for FileContents
Source§fn eq(&self, other: &FileContents) -> bool
fn eq(&self, other: &FileContents) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileContents
impl Serialize for FileContents
impl StructuralPartialEq for FileContents
Auto Trait Implementations§
impl Freeze for FileContents
impl RefUnwindSafe for FileContents
impl Send for FileContents
impl Sync for FileContents
impl Unpin for FileContents
impl UnsafeUnpin for FileContents
impl UnwindSafe for FileContents
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