pub struct SnapshotConfig {
pub mode: SnapshotMode,
pub fetch_size: usize,
pub include_collections: Vec<String>,
}Fields§
§mode: SnapshotMode§fetch_size: usize§include_collections: Vec<String>Implementations§
Source§impl SnapshotConfig
impl SnapshotConfig
pub fn includes_collection(&self, collection: &str) -> bool
Trait Implementations§
Source§impl Clone for SnapshotConfig
impl Clone for SnapshotConfig
Source§impl Debug for SnapshotConfig
impl Debug for SnapshotConfig
Source§impl Default for SnapshotConfig
impl Default for SnapshotConfig
Source§impl<'de> Deserialize<'de> for SnapshotConfig
impl<'de> Deserialize<'de> for SnapshotConfig
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 SnapshotConfig
impl RefUnwindSafe for SnapshotConfig
impl Send for SnapshotConfig
impl Sync for SnapshotConfig
impl Unpin for SnapshotConfig
impl UnsafeUnpin for SnapshotConfig
impl UnwindSafe for SnapshotConfig
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