pub struct AutoGcConfig {
pub enabled: bool,
pub older_than: String,
pub max_jobs: Option<usize>,
pub max_bytes: Option<u64>,
pub scan_limit: usize,
pub delete_limit: usize,
}Fields§
§enabled: bool§older_than: String§max_jobs: Option<usize>§max_bytes: Option<u64>§scan_limit: usize§delete_limit: usizeTrait Implementations§
Source§impl Clone for AutoGcConfig
impl Clone for AutoGcConfig
Source§fn clone(&self) -> AutoGcConfig
fn clone(&self) -> AutoGcConfig
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 AutoGcConfig
impl Debug for AutoGcConfig
Source§impl Default for AutoGcConfig
impl Default for AutoGcConfig
Source§impl<'de> Deserialize<'de> for AutoGcConfig
impl<'de> Deserialize<'de> for AutoGcConfig
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 AutoGcConfig
impl RefUnwindSafe for AutoGcConfig
impl Send for AutoGcConfig
impl Sync for AutoGcConfig
impl Unpin for AutoGcConfig
impl UnsafeUnpin for AutoGcConfig
impl UnwindSafe for AutoGcConfig
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