pub struct DecisionIndexEntry {
pub number: u64,
pub id: Uuid,
pub title: String,
pub status: DecisionStatus,
pub category: DecisionCategory,
pub domain: Option<String>,
pub file: String,
}Expand description
Decision index entry for the decisions.yaml file
Fields§
§number: u64Decision number (can be sequential or timestamp-based)
id: UuidDecision UUID
title: StringDecision title
status: DecisionStatusDecision status
category: DecisionCategoryDecision category
domain: Option<String>Domain (if applicable)
file: StringFilename of the decision YAML file
Trait Implementations§
Source§impl Clone for DecisionIndexEntry
impl Clone for DecisionIndexEntry
Source§fn clone(&self) -> DecisionIndexEntry
fn clone(&self) -> DecisionIndexEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 DecisionIndexEntry
impl Debug for DecisionIndexEntry
Source§impl<'de> Deserialize<'de> for DecisionIndexEntry
impl<'de> Deserialize<'de> for DecisionIndexEntry
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
Source§impl From<&Decision> for DecisionIndexEntry
impl From<&Decision> for DecisionIndexEntry
Source§impl PartialEq for DecisionIndexEntry
impl PartialEq for DecisionIndexEntry
Source§impl Serialize for DecisionIndexEntry
impl Serialize for DecisionIndexEntry
impl StructuralPartialEq for DecisionIndexEntry
Auto Trait Implementations§
impl Freeze for DecisionIndexEntry
impl RefUnwindSafe for DecisionIndexEntry
impl Send for DecisionIndexEntry
impl Sync for DecisionIndexEntry
impl Unpin for DecisionIndexEntry
impl UnwindSafe for DecisionIndexEntry
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