pub struct BackupManifest {
pub format_version: u16,
pub epoch: u64,
pub created_unix_nanos: u64,
pub files: Vec<BackupFile>,
}Fields§
§format_version: u16§epoch: u64§created_unix_nanos: u64§files: Vec<BackupFile>Implementations§
Source§impl BackupManifest
impl BackupManifest
pub fn total_bytes(&self) -> u64
Trait Implementations§
Source§impl Clone for BackupManifest
impl Clone for BackupManifest
Source§fn clone(&self) -> BackupManifest
fn clone(&self) -> BackupManifest
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 BackupManifest
impl Debug for BackupManifest
Source§impl<'de> Deserialize<'de> for BackupManifest
impl<'de> Deserialize<'de> for BackupManifest
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
impl Eq for BackupManifest
Source§impl PartialEq for BackupManifest
impl PartialEq for BackupManifest
Source§impl Serialize for BackupManifest
impl Serialize for BackupManifest
impl StructuralPartialEq for BackupManifest
Auto Trait Implementations§
impl Freeze for BackupManifest
impl RefUnwindSafe for BackupManifest
impl Send for BackupManifest
impl Sync for BackupManifest
impl Unpin for BackupManifest
impl UnsafeUnpin for BackupManifest
impl UnwindSafe for BackupManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more