pub struct AuditQuery {
pub kinds: Vec<String>,
pub actor: String,
pub since_unix_ms: i64,
pub until_unix_ms: i64,
pub text: String,
pub before_seq: Option<u64>,
pub limit: usize,
}Expand description
What the admin asks for: every filter optional, newest first.
Fields§
§kinds: Vec<String>Kinds or families (login, visibility, repo.deleted); empty = all.
actor: StringOnly this actor; empty = anyone.
since_unix_ms: i64At or after; 0 = from the start.
until_unix_ms: i64At or before; 0 = up to now.
text: StringA substring of the target, the detail, the actor or the kind, any case.
before_seq: Option<u64>Only entries OLDER than this seq (the previous page’s cursor).
limit: usizeHow many; 0 = 50. Capped at MAX_PAGE.
Trait Implementations§
Source§impl Clone for AuditQuery
impl Clone for AuditQuery
Source§impl Debug for AuditQuery
impl Debug for AuditQuery
Source§impl Default for AuditQuery
impl Default for AuditQuery
impl Eq for AuditQuery
Source§impl PartialEq for AuditQuery
impl PartialEq for AuditQuery
impl StructuralPartialEq for AuditQuery
Auto Trait Implementations§
impl Freeze for AuditQuery
impl RefUnwindSafe for AuditQuery
impl Send for AuditQuery
impl Sync for AuditQuery
impl Unpin for AuditQuery
impl UnsafeUnpin for AuditQuery
impl UnwindSafe for AuditQuery
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.