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<DecisionIndexEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecisionIndexEntry, <__D as Deserializer<'de>>::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§fn from(decision: &Decision) -> DecisionIndexEntry
fn from(decision: &Decision) -> DecisionIndexEntry
Converts to this type from the input type.
Source§impl PartialEq for DecisionIndexEntry
impl PartialEq for DecisionIndexEntry
Source§impl Serialize for DecisionIndexEntry
impl Serialize for DecisionIndexEntry
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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