pub struct DeletionConfig {
pub trash_enabled: bool,
pub cancel_window_minutes: u32,
pub trash_retention_days: u32,
pub trash_max_mb: u64,
pub max_batch: u32,
pub auto_permanent_delete: bool,
pub trusted_paths: Vec<String>,
}Fields§
§trash_enabled: bool§cancel_window_minutes: u32§trash_retention_days: u32§trash_max_mb: u64§max_batch: u32§auto_permanent_delete: bool§trusted_paths: Vec<String>Trait Implementations§
Source§impl Clone for DeletionConfig
impl Clone for DeletionConfig
Source§fn clone(&self) -> DeletionConfig
fn clone(&self) -> DeletionConfig
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 DeletionConfig
impl Debug for DeletionConfig
Source§impl Default for DeletionConfig
impl Default for DeletionConfig
Source§impl<'de> Deserialize<'de> for DeletionConfig
impl<'de> Deserialize<'de> for DeletionConfig
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 DeletionConfig
impl PartialEq for DeletionConfig
Source§fn eq(&self, other: &DeletionConfig) -> bool
fn eq(&self, other: &DeletionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeletionConfig
impl Serialize for DeletionConfig
impl StructuralPartialEq for DeletionConfig
Auto Trait Implementations§
impl Freeze for DeletionConfig
impl RefUnwindSafe for DeletionConfig
impl Send for DeletionConfig
impl Sync for DeletionConfig
impl Unpin for DeletionConfig
impl UnsafeUnpin for DeletionConfig
impl UnwindSafe for DeletionConfig
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