pub struct Decision {
pub observe: String,
pub decision: String,
pub grounds: Vec<Ground>,
pub blame: String,
pub authority: Option<String>,
pub jurisdiction: Option<String>,
pub source_ref: Option<Value>,
pub provenance: Option<String>,
}Expand description
An assembled, validated decision ready to be appended to the ledger — the single shape both
ev decide (capture.rs) and ev migrate (migrate.rs) hand to append. It carries exactly the
hashed payload (observe, decision, grounds) plus the bookkeeping fields; append owns the one
compute_id / write_tick / R3-lint path so neither caller can fork the hashing.
Fields§
§observe: String§decision: String§grounds: Vec<Ground>§blame: String§jurisdiction: Option<String>§source_ref: Option<Value>§provenance: Option<String>Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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