pub enum SystemOneQuestion {
Noul {
instructions: Value,
criteria: Option<SystemOneNoulCriteria>,
},
Choice {
instructions: Value,
criteria: OrderedEntries<Value>,
},
Score {
instructions: Value,
criteria: Vec<Value>,
},
}Expand description
One question about the request’s state.
Variants§
Noul
A yes/no statement; answered with the probability that it is true.
Choice
One of 2 to 255 options, numbered in the order given. Each value
describes its option (null for no description).
Score
A level on an ordered scale of 2 to 10 entries, lowest first.
Implementations§
Source§impl SystemOneQuestion
impl SystemOneQuestion
Trait Implementations§
Source§impl Clone for SystemOneQuestion
impl Clone for SystemOneQuestion
Source§impl Debug for SystemOneQuestion
impl Debug for SystemOneQuestion
Source§impl<'de> Deserialize<'de> for SystemOneQuestion
impl<'de> Deserialize<'de> for SystemOneQuestion
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 SystemOneQuestion
impl PartialEq for SystemOneQuestion
Source§impl Serialize for SystemOneQuestion
impl Serialize for SystemOneQuestion
impl StructuralPartialEq for SystemOneQuestion
Auto Trait Implementations§
impl Freeze for SystemOneQuestion
impl RefUnwindSafe for SystemOneQuestion
impl Send for SystemOneQuestion
impl Sync for SystemOneQuestion
impl Unpin for SystemOneQuestion
impl UnsafeUnpin for SystemOneQuestion
impl UnwindSafe for SystemOneQuestion
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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