pub struct ExplanationTiers {
pub summary: String,
pub explanation: String,
pub tags: Vec<String>,
pub related_artifacts: Vec<String>,
}Expand description
Three-tier explanation for an artifact (v0.2.3).
Agents populate this via .diff.explanation.yaml sidecar files.
Enables tiered review: top (one-line) → medium (paragraph) → full (with diff).
Fields§
§summary: StringOne-line summary (e.g., “Refactored auth middleware to use JWT”).
explanation: StringParagraph explaining what changed and why, dependencies affected.
Optional tags for categorization (e.g., “security”, “breaking-change”).
Related artifacts (URIs) that are connected to this change.
Trait Implementations§
Source§impl Clone for ExplanationTiers
impl Clone for ExplanationTiers
Source§fn clone(&self) -> ExplanationTiers
fn clone(&self) -> ExplanationTiers
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 ExplanationTiers
impl Debug for ExplanationTiers
Source§impl<'de> Deserialize<'de> for ExplanationTiers
impl<'de> Deserialize<'de> for ExplanationTiers
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 PartialEq for ExplanationTiers
impl PartialEq for ExplanationTiers
Source§impl Serialize for ExplanationTiers
impl Serialize for ExplanationTiers
impl Eq for ExplanationTiers
impl StructuralPartialEq for ExplanationTiers
Auto Trait Implementations§
impl Freeze for ExplanationTiers
impl RefUnwindSafe for ExplanationTiers
impl Send for ExplanationTiers
impl Sync for ExplanationTiers
impl Unpin for ExplanationTiers
impl UnsafeUnpin for ExplanationTiers
impl UnwindSafe for ExplanationTiers
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.