Struct backup_deduplicator::data::SaveFileEntryV1
source · pub struct SaveFileEntryV1 {
pub file_type: SaveFileEntryTypeV1,
pub modified: u64,
pub size: u64,
pub hash: GeneralHash,
pub path: FilePath,
pub children: Vec<GeneralHash>,
}Fields§
§file_type: SaveFileEntryTypeV1§modified: u64§size: u64§hash: GeneralHash§path: FilePath§children: Vec<GeneralHash>Trait Implementations§
source§impl Clone for SaveFileEntryV1
impl Clone for SaveFileEntryV1
source§fn clone(&self) -> SaveFileEntryV1
fn clone(&self) -> SaveFileEntryV1
Returns a copy of the value. Read more
1.0.0 · 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 SaveFileEntryV1
impl Debug for SaveFileEntryV1
source§impl<'de> Deserialize<'de> for SaveFileEntryV1
impl<'de> Deserialize<'de> for SaveFileEntryV1
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<'a> From<&'a SaveFileEntryV1> for SaveFileEntryV1Ref<'a>
impl<'a> From<&'a SaveFileEntryV1> for SaveFileEntryV1Ref<'a>
source§fn from(value: &'a SaveFileEntryV1) -> Self
fn from(value: &'a SaveFileEntryV1) -> Self
Converts to this type from the input type.
source§impl From<DirectoryInformation> for SaveFileEntryV1
impl From<DirectoryInformation> for SaveFileEntryV1
source§fn from(value: DirectoryInformation) -> Self
fn from(value: DirectoryInformation) -> Self
Converts to this type from the input type.
source§impl From<File> for SaveFileEntryV1
impl From<File> for SaveFileEntryV1
source§impl From<FileInformation> for SaveFileEntryV1
impl From<FileInformation> for SaveFileEntryV1
source§fn from(value: FileInformation) -> Self
fn from(value: FileInformation) -> Self
Converts to this type from the input type.
source§impl From<OtherInformation> for SaveFileEntryV1
impl From<OtherInformation> for SaveFileEntryV1
source§fn from(value: OtherInformation) -> Self
fn from(value: OtherInformation) -> Self
Converts to this type from the input type.
source§impl From<StubInformation> for SaveFileEntryV1
impl From<StubInformation> for SaveFileEntryV1
source§fn from(value: StubInformation) -> Self
fn from(value: StubInformation) -> Self
Converts to this type from the input type.
source§impl From<SymlinkInformation> for SaveFileEntryV1
impl From<SymlinkInformation> for SaveFileEntryV1
source§fn from(value: SymlinkInformation) -> Self
fn from(value: SymlinkInformation) -> Self
Converts to this type from the input type.
source§impl PartialEq for SaveFileEntryV1
impl PartialEq for SaveFileEntryV1
source§fn eq(&self, other: &SaveFileEntryV1) -> bool
fn eq(&self, other: &SaveFileEntryV1) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SaveFileEntryV1
impl Serialize for SaveFileEntryV1
impl StructuralPartialEq for SaveFileEntryV1
Auto Trait Implementations§
impl Freeze for SaveFileEntryV1
impl RefUnwindSafe for SaveFileEntryV1
impl Send for SaveFileEntryV1
impl Sync for SaveFileEntryV1
impl Unpin for SaveFileEntryV1
impl UnwindSafe for SaveFileEntryV1
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