pub struct DecisionSummary {
pub key: String,
pub value: String,
pub reason: String,
pub status: String,
pub authority: String,
pub reversibility: String,
pub affected_paths: Vec<String>,
pub ratified: bool,
}Expand description
Minimal decision summary for pack rendering (avoids carrying full DecisionView).
Fields§
§key: String§value: String§reason: String§status: String§reversibility: String§affected_paths: Vec<String>§ratified: boolRatified by the operator or the cited-authority sweep (GH-401, GH-1063).
Derived from decision_ratify events at build time — From<&DecisionView>
alone cannot know it, so callers with ratified-state must set it explicitly.
Trait Implementations§
Source§impl Clone for DecisionSummary
impl Clone for DecisionSummary
Source§fn clone(&self) -> DecisionSummary
fn clone(&self) -> DecisionSummary
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 moreSource§impl Debug for DecisionSummary
impl Debug for DecisionSummary
Source§impl From<&DecisionView> for DecisionSummary
impl From<&DecisionView> for DecisionSummary
Source§fn from(v: &DecisionView) -> Self
fn from(v: &DecisionView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecisionSummary
impl RefUnwindSafe for DecisionSummary
impl Send for DecisionSummary
impl Sync for DecisionSummary
impl Unpin for DecisionSummary
impl UnsafeUnpin for DecisionSummary
impl UnwindSafe for DecisionSummary
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