pub struct SnapshotFile {
pub relative_path: String,
pub size: u64,
pub modified: u64,
pub checksum: u32,
}Expand description
File included in a snapshot
Fields§
§relative_path: StringRelative path within the database directory
size: u64File size in bytes
modified: u64Last modified timestamp
checksum: u32Checksum (CRC32)
Trait Implementations§
Source§impl Clone for SnapshotFile
impl Clone for SnapshotFile
Source§fn clone(&self) -> SnapshotFile
fn clone(&self) -> SnapshotFile
Returns a duplicate 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 SnapshotFile
impl Debug for SnapshotFile
Source§impl<'de> Deserialize<'de> for SnapshotFile
impl<'de> Deserialize<'de> for SnapshotFile
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
Auto Trait Implementations§
impl Freeze for SnapshotFile
impl RefUnwindSafe for SnapshotFile
impl Send for SnapshotFile
impl Sync for SnapshotFile
impl Unpin for SnapshotFile
impl UnwindSafe for SnapshotFile
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