pub struct DesignAlternative {
pub option: String,
pub rationale: String,
pub chosen: bool,
}Expand description
A design alternative considered during agent work (v0.9.5).
Agents report which options they evaluated and why they chose one over others.
Displayed under “Design Decisions” in ta draft view.
Fields§
§option: StringThe option that was considered (e.g., “Use a HashMap for lookup”).
rationale: StringWhy this option was chosen or rejected.
chosen: boolWhether this was the chosen approach.
Trait Implementations§
Source§impl Clone for DesignAlternative
impl Clone for DesignAlternative
Source§fn clone(&self) -> DesignAlternative
fn clone(&self) -> DesignAlternative
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 DesignAlternative
impl Debug for DesignAlternative
Source§impl<'de> Deserialize<'de> for DesignAlternative
impl<'de> Deserialize<'de> for DesignAlternative
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 DesignAlternative
impl PartialEq for DesignAlternative
Source§impl Serialize for DesignAlternative
impl Serialize for DesignAlternative
impl Eq for DesignAlternative
impl StructuralPartialEq for DesignAlternative
Auto Trait Implementations§
impl Freeze for DesignAlternative
impl RefUnwindSafe for DesignAlternative
impl Send for DesignAlternative
impl Sync for DesignAlternative
impl Unpin for DesignAlternative
impl UnsafeUnpin for DesignAlternative
impl UnwindSafe for DesignAlternative
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.