pub struct LogRecord {Show 15 fields
pub at: Timestamp,
pub proposal: Proposal,
pub caller: Actor,
pub pre_digest: Hash,
pub policy: PolicyVersion,
pub result: Submitted,
pub facts: Option<DerivedFacts>,
pub decision: Option<Decision>,
pub post_digest: Option<Hash>,
pub path: Vec<String>,
pub why: String,
pub agent: Option<String>,
pub no_snapshot: bool,
pub approver: Option<Actor>,
pub bound_to: Option<Hash>,
}Expand description
The executor log (I7): one record per submitted proposal.
Fields§
§at: Timestamp§proposal: Proposal§caller: Actor§pre_digest: Hash§policy: PolicyVersion§result: Submitted§facts: Option<DerivedFacts>What the executor derived and decided, when it got that far.
decision: Option<Decision>§post_digest: Option<Hash>The state after, and the transaction’s journal path and last reason (which carries the probe verdict).
path: Vec<String>§why: String§agent: Option<String>The agent that sent the request, acting for caller (§11).
no_snapshot: bool§12 step 6 (C18): the transaction touches user data and no snapshot was taken, because Phase A has no snapshot backend; it continued.
approver: Option<Actor>I7: an approved execution names who approved it and the bound_to
of the token used; a submission parked for approval carries the
bound_to it waits on.
bound_to: Option<Hash>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogRecord
impl<'de> Deserialize<'de> for LogRecord
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 LogRecord
impl StructuralPartialEq for LogRecord
Auto Trait Implementations§
impl Freeze for LogRecord
impl RefUnwindSafe for LogRecord
impl Send for LogRecord
impl Sync for LogRecord
impl Unpin for LogRecord
impl UnsafeUnpin for LogRecord
impl UnwindSafe for LogRecord
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