pub struct SnapshotConfigSerializable {
pub min_operations_between: u64,
pub max_time_between: u64,
pub max_snapshots: usize,
pub auto_snapshot: bool,
}Expand description
Serializable version of SnapshotConfig.
Fields§
§min_operations_between: u64§max_time_between: u64§max_snapshots: usize§auto_snapshot: boolTrait Implementations§
Source§impl Clone for SnapshotConfigSerializable
impl Clone for SnapshotConfigSerializable
Source§fn clone(&self) -> SnapshotConfigSerializable
fn clone(&self) -> SnapshotConfigSerializable
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 SnapshotConfigSerializable
impl Debug for SnapshotConfigSerializable
Source§impl Default for SnapshotConfigSerializable
impl Default for SnapshotConfigSerializable
Source§impl<'de> Deserialize<'de> for SnapshotConfigSerializable
impl<'de> Deserialize<'de> for SnapshotConfigSerializable
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 From<SnapshotConfigSerializable> for SnapshotConfig
impl From<SnapshotConfigSerializable> for SnapshotConfig
Source§fn from(s: SnapshotConfigSerializable) -> Self
fn from(s: SnapshotConfigSerializable) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotConfigSerializable
impl RefUnwindSafe for SnapshotConfigSerializable
impl Send for SnapshotConfigSerializable
impl Sync for SnapshotConfigSerializable
impl Unpin for SnapshotConfigSerializable
impl UnwindSafe for SnapshotConfigSerializable
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