pub struct PurgeOptions {
pub older_than: Option<i64>,
pub signal_types: Vec<SignalType>,
pub dry_run: bool,
}Expand description
Options for manual data cleanup.
Fields§
§older_than: Option<i64>Purge data older than this timestamp (nanoseconds since Unix epoch).
signal_types: Vec<SignalType>§dry_run: boolTrait Implementations§
Source§impl Clone for PurgeOptions
impl Clone for PurgeOptions
Source§fn clone(&self) -> PurgeOptions
fn clone(&self) -> PurgeOptions
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 moreAuto Trait Implementations§
impl Freeze for PurgeOptions
impl RefUnwindSafe for PurgeOptions
impl Send for PurgeOptions
impl Sync for PurgeOptions
impl Unpin for PurgeOptions
impl UnsafeUnpin for PurgeOptions
impl UnwindSafe for PurgeOptions
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