pub struct JsonAdr {Show 18 fields
pub number: u32,
pub title: String,
pub status: String,
pub date: String,
pub deciders: Vec<String>,
pub consulted: Vec<String>,
pub informed: Vec<String>,
pub tags: Vec<String>,
pub source_uri: Option<String>,
pub context: Option<String>,
pub decision_drivers: Vec<String>,
pub considered_options: Vec<ConsideredOption>,
pub decision: Option<String>,
pub consequences: Option<String>,
pub confirmation: Option<String>,
pub links: Vec<JsonAdrLink>,
pub custom_sections: HashMap<String, String>,
pub path: Option<String>,
}Expand description
A single ADR in JSON-ADR format.
Fields§
§number: u32Unique identifier for the ADR.
title: StringTitle of the decision.
status: StringCurrent status.
date: StringDate when the decision was made (ISO 8601).
deciders: Vec<String>People who made the decision.
consulted: Vec<String>People whose opinions were sought.
informed: Vec<String>People informed after the decision.
Categorization labels.
source_uri: Option<String>URI to the source ADR file (for federation/reference).
context: Option<String>Background and problem statement.
decision_drivers: Vec<String>Forces and concerns influencing the decision.
considered_options: Vec<ConsideredOption>Alternatives that were evaluated.
decision: Option<String>The decision that was made.
consequences: Option<String>Outcomes and implications.
confirmation: Option<String>How to validate the decision was implemented correctly.
links: Vec<JsonAdrLink>Relationships to other ADRs.
custom_sections: HashMap<String, String>Custom sections not covered by standard fields.
path: Option<String>Relative path to the source file.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JsonAdr
impl<'de> Deserialize<'de> for JsonAdr
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
Auto Trait Implementations§
impl Freeze for JsonAdr
impl RefUnwindSafe for JsonAdr
impl Send for JsonAdr
impl Sync for JsonAdr
impl Unpin for JsonAdr
impl UnwindSafe for JsonAdr
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