pub struct EventRow {
pub seq: u64,
pub key_id: String,
pub kind: String,
pub transaction_id: String,
pub receipt_digest: String,
pub created_at: String,
pub prev_chain_hash: String,
pub chain_hash: String,
pub chain_version: u32,
pub caller_principal: Option<String>,
}Expand description
One approval event as fetched from the store.
Fields§
§seq: u64§key_id: String§kind: StringStored spelling of an AuditEventKind. Kept as a string so an
unrecognised value read from the database is a verification failure
rather than a deserialisation panic.
transaction_id: String§receipt_digest: String§created_at: String§prev_chain_hash: String§chain_hash: String§chain_version: u32Encoding generation this row was signed under. 1 for every row
written before the approver-identity migration — see EventIdentity.
caller_principal: Option<String>Account that performed this event’s operation, when the row was signed
under an encoding that carries one. None (or blank) on legacy rows;
a blank on a chain_version = 2 row is a detected break, mirroring the
transaction chain’s rule that a row naming nobody must not pass for
one naming an account.
Trait Implementations§
impl Eq for EventRow
impl StructuralPartialEq for EventRow
Auto Trait Implementations§
impl Freeze for EventRow
impl RefUnwindSafe for EventRow
impl Send for EventRow
impl Sync for EventRow
impl Unpin for EventRow
impl UnsafeUnpin for EventRow
impl UnwindSafe for EventRow
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more