pub struct ArchitecturalDecision {
pub id: String,
pub decision_type: String,
pub description: String,
pub rationale: String,
pub created_at: DateTime<Utc>,
pub last_observed: DateTime<Utc>,
pub introduced_version: String,
pub confidence: f32,
pub occurrences: usize,
pub metadata: Value,
}Expand description
Represents an architectural decision
Fields§
§id: StringUnique identifier for the decision
decision_type: StringType of architectural decision (e.g., “layering”, “modularity”, “async_pattern”)
description: StringDescription of the decision
rationale: StringRationale for the decision
created_at: DateTime<Utc>When the decision was made
last_observed: DateTime<Utc>When the decision was last observed
introduced_version: StringVersion when this decision was introduced
confidence: f32Confidence score (0.0 to 1.0)
occurrences: usizeNumber of times this pattern has been observed
metadata: ValueAdditional metadata
Implementations§
Trait Implementations§
Source§impl Clone for ArchitecturalDecision
impl Clone for ArchitecturalDecision
Source§fn clone(&self) -> ArchitecturalDecision
fn clone(&self) -> ArchitecturalDecision
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 ArchitecturalDecision
impl Debug for ArchitecturalDecision
Source§impl<'de> Deserialize<'de> for ArchitecturalDecision
impl<'de> Deserialize<'de> for ArchitecturalDecision
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 ArchitecturalDecision
impl RefUnwindSafe for ArchitecturalDecision
impl Send for ArchitecturalDecision
impl Sync for ArchitecturalDecision
impl Unpin for ArchitecturalDecision
impl UnwindSafe for ArchitecturalDecision
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