pub struct ChainRow {Show 16 fields
pub seq: u64,
pub key_id: String,
pub transaction_id: String,
pub request_id: String,
pub request_hash: String,
pub action_name: String,
pub risk_level: RiskLevel,
pub summary: String,
pub approval_id: Option<String>,
pub warnings_json: String,
pub created_at: String,
pub prev_chain_hash: String,
pub chain_hash: String,
pub chain_version: u32,
pub caller_role: Option<String>,
pub event_tip: Option<String>,
}Expand description
One row’s worth of chain data, as fetched from the store.
Fields§
§seq: u64§key_id: String§transaction_id: String§request_id: String§request_hash: String§action_name: String§risk_level: RiskLevel§summary: String§approval_id: Option<String>§warnings_json: String§created_at: String§prev_chain_hash: String§chain_hash: String§chain_version: u32Which encoding this row was signed under. See ChainIdentity.
caller_role: Option<String>NULL for legacy rows; required for chain_version = 2.
event_tip: Option<String>NULL for legacy rows; required for chain_version = 2. May be the
empty string when the event chain was empty at insert time.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChainRow
impl RefUnwindSafe for ChainRow
impl Send for ChainRow
impl Sync for ChainRow
impl Unpin for ChainRow
impl UnsafeUnpin for ChainRow
impl UnwindSafe for ChainRow
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<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