pub struct BackupSection {
pub name: String,
pub entry_count: usize,
}Expand description
A single section in a backup manifest.
Fields§
§name: StringSection name (e.g., “seeds”, “memory/facts”).
entry_count: usizeNumber of entries in this section.
Trait Implementations§
Source§impl Debug for BackupSection
impl Debug for BackupSection
Source§impl<'de> Deserialize<'de> for BackupSection
impl<'de> Deserialize<'de> for BackupSection
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 BackupSection
impl RefUnwindSafe for BackupSection
impl Send for BackupSection
impl Sync for BackupSection
impl Unpin for BackupSection
impl UnsafeUnpin for BackupSection
impl UnwindSafe for BackupSection
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