pub enum DecisionKind {
PlanApproval,
PlanRevision,
PlanRevisionRejection,
GrantApproval,
GrantDenial,
MilestoneUnblock,
Steer,
OperatorMessage,
MissionAbandoned,
}Expand description
What kind of human act one chain entry records (module docs for the set).
Variants§
PlanApproval
PlanRevision
PlanRevisionRejection
GrantApproval
GrantDenial
MilestoneUnblock
Steer
A user.message at/after plan.approved (by seq — the
escalation-metrics steer rule).
OperatorMessage
A user.message before plan approval: drafting, not a steer.
MissionAbandoned
Implementations§
Source§impl DecisionKind
impl DecisionKind
Sourcepub fn as_str(&self) -> &'static str
pub fn as_str(&self) -> &'static str
The wire/serde form for text surfaces (the as_str idiom of
crate::escalation_metrics::LedgerKind).
Trait Implementations§
Source§impl Clone for DecisionKind
impl Clone for DecisionKind
Source§fn clone(&self) -> DecisionKind
fn clone(&self) -> DecisionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecisionKind
Source§impl Debug for DecisionKind
impl Debug for DecisionKind
Source§impl<'de> Deserialize<'de> for DecisionKind
impl<'de> Deserialize<'de> for DecisionKind
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 DecisionKind
Source§impl PartialEq for DecisionKind
impl PartialEq for DecisionKind
Source§impl Serialize for DecisionKind
impl Serialize for DecisionKind
impl StructuralPartialEq for DecisionKind
Auto Trait Implementations§
impl Freeze for DecisionKind
impl RefUnwindSafe for DecisionKind
impl Send for DecisionKind
impl Sync for DecisionKind
impl Unpin for DecisionKind
impl UnsafeUnpin for DecisionKind
impl UnwindSafe for DecisionKind
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