pub struct AuditLogFilter {Show 13 fields
pub from: Option<Timestamp>,
pub to: Option<Timestamp>,
pub actor_type: Option<String>,
pub actor_user_id: Option<Uuid>,
pub zone_id: Option<Uuid>,
pub category: Option<String>,
pub action: Option<String>,
pub outcome: Option<String>,
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub request_id: Option<Uuid>,
pub limit: Option<u32>,
pub cursor: Option<String>,
}Expand description
Filters and page for AuditLogs::list. Every field is optional; together they
narrow. Admin-only filters (core_id, nats_seq, ip) are not here.
Fields§
§from: Option<Timestamp>Start of the range, inclusive. Core’s default: 24 hours before to. The range may
span at most 31 days.
to: Option<Timestamp>End of the range. Core’s default: now.
actor_type: Option<String>user, user_key, zone_key, edge, system or anonymous.
actor_user_id: Option<Uuid>The user who acted.
zone_id: Option<Uuid>The zone the operation belongs to.
category: Option<String>api, relay, auth or system.
action: Option<String>Exact action (record.create), or a prefix ending in * (record.*).
outcome: Option<String>success, denied, invalid, conflict, not_found or error.
resource_type: Option<String>e.g. record, zone.
resource_id: Option<String>Id of the resource.
request_id: Option<Uuid>The entries of one API request.
limit: Option<u32>Entries per page, 1–500; Core’s default 50.
cursor: Option<String>CursorPage::next_cursor of the previous page; keep the other filters the same.
Trait Implementations§
Source§impl Clone for AuditLogFilter
impl Clone for AuditLogFilter
Source§fn clone(&self) -> AuditLogFilter
fn clone(&self) -> AuditLogFilter
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 AuditLogFilter
impl Debug for AuditLogFilter
Source§impl Default for AuditLogFilter
impl Default for AuditLogFilter
Source§fn default() -> AuditLogFilter
fn default() -> AuditLogFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuditLogFilter
impl RefUnwindSafe for AuditLogFilter
impl Send for AuditLogFilter
impl Sync for AuditLogFilter
impl Unpin for AuditLogFilter
impl UnsafeUnpin for AuditLogFilter
impl UnwindSafe for AuditLogFilter
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