#[non_exhaustive]pub struct AuditRow {
pub id: String,
pub record: AuditRecord,
pub ingested_at: i64,
}Expand description
One row in the audit table — an AuditRecord plus the bits cheers
contributes (id and ingested_at).
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.id: String§record: AuditRecord§ingested_at: i64Unix-seconds timestamp cheers received and durably appended the row.
Distinct from record.at (kamaji’s clock) — having both lets an
operator see ingest latency without joining clocks at query time.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditRow
impl<'de> Deserialize<'de> for AuditRow
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 AuditRow
impl StructuralPartialEq for AuditRow
Auto Trait Implementations§
impl Freeze for AuditRow
impl RefUnwindSafe for AuditRow
impl Send for AuditRow
impl Sync for AuditRow
impl Unpin for AuditRow
impl UnsafeUnpin for AuditRow
impl UnwindSafe for AuditRow
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