pub struct AuditPruneParams {
pub before: String,
}Expand description
Params of Request::AuditPrune (#88): delete monthly audit files STRICTLY older than
before (that month itself is kept — delete-before, not delete-including). Rejects unknown
fields, and the daemon validates the YYYY-MM shape up front: a malformed month errors
loudly instead of string-comparing to nothing and reporting a clean no-op.
Fields§
§before: StringA zero-padded YYYY-MM month key.
Trait Implementations§
Source§impl Clone for AuditPruneParams
impl Clone for AuditPruneParams
Source§fn clone(&self) -> AuditPruneParams
fn clone(&self) -> AuditPruneParams
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 AuditPruneParams
impl Debug for AuditPruneParams
Source§impl<'de> Deserialize<'de> for AuditPruneParams
impl<'de> Deserialize<'de> for AuditPruneParams
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
impl Eq for AuditPruneParams
Source§impl PartialEq for AuditPruneParams
impl PartialEq for AuditPruneParams
Source§impl Serialize for AuditPruneParams
impl Serialize for AuditPruneParams
impl StructuralPartialEq for AuditPruneParams
Auto Trait Implementations§
impl Freeze for AuditPruneParams
impl RefUnwindSafe for AuditPruneParams
impl Send for AuditPruneParams
impl Sync for AuditPruneParams
impl Unpin for AuditPruneParams
impl UnsafeUnpin for AuditPruneParams
impl UnwindSafe for AuditPruneParams
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