pub struct DecisionFrame {
pub question: String,
pub criteria: Vec<Criterion>,
pub options: Vec<DecisionOption>,
}Fields§
§question: String§criteria: Vec<Criterion>§options: Vec<DecisionOption>Trait Implementations§
Source§impl Clone for DecisionFrame
impl Clone for DecisionFrame
Source§impl Debug for DecisionFrame
impl Debug for DecisionFrame
Source§impl<'de> Deserialize<'de> for DecisionFrame
impl<'de> Deserialize<'de> for DecisionFrame
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 DecisionFrame
impl RefUnwindSafe for DecisionFrame
impl Send for DecisionFrame
impl Sync for DecisionFrame
impl Unpin for DecisionFrame
impl UnsafeUnpin for DecisionFrame
impl UnwindSafe for DecisionFrame
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