#[non_exhaustive]pub struct AuditPage {
pub rows: Vec<AuditRow>,
pub next_cursor: Option<AuditCursor>,
}Expand description
One page of audit rows, newest first.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rows: Vec<AuditRow>Rows in (at DESC, id DESC) order.
next_cursor: Option<AuditCursor>Position to pass as the next request’s cursor. None means this was
the last page — impls set it only when a further row is known to
exist (by over-fetching one), so a client never has to make a final
empty round-trip to discover the end.
Implementations§
Trait Implementations§
impl Eq for AuditPage
impl StructuralPartialEq for AuditPage
Auto Trait Implementations§
impl Freeze for AuditPage
impl RefUnwindSafe for AuditPage
impl Send for AuditPage
impl Sync for AuditPage
impl Unpin for AuditPage
impl UnsafeUnpin for AuditPage
impl UnwindSafe for AuditPage
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