pub struct LedgerRow {
pub ts: DateTime<Utc>,
pub mission_id: String,
pub kind: LedgerKind,
pub milestone_id: Option<String>,
pub ask: String,
pub decision: String,
pub latency_ms: Option<u64>,
}Expand description
One escalation-ledger row: what was asked, what was decided, how long it took. Tabular across REST/CLI/dashboard.
Fields§
§ts: DateTime<Utc>§mission_id: String§kind: LedgerKind§milestone_id: Option<String>The milestone a grant parked for; None on steers.
ask: StringGrant: <kind>: <command>; steer: the operator’s message text.
decision: StringGrant: approved / denied: <reason> / pending; steer: steered.
latency_ms: Option<u64>Park→decision latency; None while pending (and on steers).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LedgerRow
impl<'de> Deserialize<'de> for LedgerRow
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 StructuralPartialEq for LedgerRow
Auto Trait Implementations§
impl Freeze for LedgerRow
impl RefUnwindSafe for LedgerRow
impl Send for LedgerRow
impl Sync for LedgerRow
impl Unpin for LedgerRow
impl UnsafeUnpin for LedgerRow
impl UnwindSafe for LedgerRow
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