pub struct AuditListParams {
pub since: Option<String>,
pub until: Option<String>,
pub kind: Option<String>,
pub peer: Option<String>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Params of Request::AuditList (#88). All filters optional and AND-combined; every field
absent lists everything (paged). Rejects unknown fields — a typo’d filter that silently
matched everything would let a “what do you hold about X” answer overclaim.
Fields§
§since: Option<String>Inclusive YYYY-MM lower bound — month-file granularity (the rotation unit), so an
out-of-range month is skipped without parsing it.
until: Option<String>Inclusive YYYY-MM upper bound.
kind: Option<String>One of the wire kind strings (session_open / session_close / request /
blob_fetch / trust). An UNKNOWN string is an error, never silently-all.
peer: Option<String>The record’s attributed peer nickname.
limit: Option<u32>Page size, default 500, clamped to 1000 — a month file can be arbitrarily large and the
response is ONE JSON frame under the transport’s frame cap, so the clamp is load-bearing
(the same lesson as blob_list’s, minor 20).
offset: Option<u32>Records to skip (after filtering), for paging.
Trait Implementations§
Source§impl Clone for AuditListParams
impl Clone for AuditListParams
Source§fn clone(&self) -> AuditListParams
fn clone(&self) -> AuditListParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more