pub enum QuestionParamInstructions {
Text(String),
Items(Vec<DecisionQuestionInputPart>),
}Available on crate feature
decision-types only.Expand description
Instructions for a predicate, choice, or score question, as text or an ordered list of content parts.
Variants§
Text(String)
Items(Vec<DecisionQuestionInputPart>)
Trait Implementations§
Source§impl Clone for QuestionParamInstructions
impl Clone for QuestionParamInstructions
Source§impl Debug for QuestionParamInstructions
impl Debug for QuestionParamInstructions
Source§impl<'de> Deserialize<'de> for QuestionParamInstructions
impl<'de> Deserialize<'de> for QuestionParamInstructions
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
impl StructuralPartialEq for QuestionParamInstructions
Auto Trait Implementations§
impl Freeze for QuestionParamInstructions
impl RefUnwindSafe for QuestionParamInstructions
impl Send for QuestionParamInstructions
impl Sync for QuestionParamInstructions
impl Unpin for QuestionParamInstructions
impl UnsafeUnpin for QuestionParamInstructions
impl UnwindSafe for QuestionParamInstructions
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