pub struct RetentionConfig {
pub keep_last: usize,
pub keep_hourly: u32,
pub keep_daily: u32,
pub keep_weekly: u32,
pub keep_monthly: u32,
pub keep_yearly: u32,
}Fields§
§keep_last: usize§keep_hourly: u32§keep_daily: u32§keep_weekly: u32§keep_monthly: u32§keep_yearly: u32Trait Implementations§
Source§impl Clone for RetentionConfig
impl Clone for RetentionConfig
Source§fn clone(&self) -> RetentionConfig
fn clone(&self) -> RetentionConfig
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 RetentionConfig
impl Debug for RetentionConfig
Source§impl Default for RetentionConfig
impl Default for RetentionConfig
Source§impl PartialEq for RetentionConfig
impl PartialEq for RetentionConfig
impl StructuralPartialEq for RetentionConfig
Auto Trait Implementations§
impl Freeze for RetentionConfig
impl RefUnwindSafe for RetentionConfig
impl Send for RetentionConfig
impl Sync for RetentionConfig
impl Unpin for RetentionConfig
impl UnwindSafe for RetentionConfig
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