pub struct CorruptionConfig {
pub enable_corruption_detection: bool,
}Expand description
Corruption detection configuration
Fields§
§enable_corruption_detection: boolEnable corruption detection
Trait Implementations§
Source§impl Clone for CorruptionConfig
impl Clone for CorruptionConfig
Source§fn clone(&self) -> CorruptionConfig
fn clone(&self) -> CorruptionConfig
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 CorruptionConfig
impl Debug for CorruptionConfig
Source§impl Default for CorruptionConfig
impl Default for CorruptionConfig
Source§impl<'de> Deserialize<'de> for CorruptionConfig
impl<'de> Deserialize<'de> for CorruptionConfig
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 PartialEq for CorruptionConfig
impl PartialEq for CorruptionConfig
Source§impl Serialize for CorruptionConfig
impl Serialize for CorruptionConfig
impl StructuralPartialEq for CorruptionConfig
Auto Trait Implementations§
impl Freeze for CorruptionConfig
impl RefUnwindSafe for CorruptionConfig
impl Send for CorruptionConfig
impl Sync for CorruptionConfig
impl Unpin for CorruptionConfig
impl UnwindSafe for CorruptionConfig
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