pub struct DecisionQuestion {
pub instructions: Value,
pub kind: DecisionKind,
}Expand description
Instructions and the expected answer shape for one question.
Fields§
§instructions: ValueStructured or textual instructions shared with the provider.
kind: DecisionKindExpected answer shape.
Trait Implementations§
Source§impl Clone for DecisionQuestion
impl Clone for DecisionQuestion
Source§fn clone(&self) -> DecisionQuestion
fn clone(&self) -> DecisionQuestion
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 DecisionQuestion
impl Debug for DecisionQuestion
Source§impl<'de> Deserialize<'de> for DecisionQuestion
impl<'de> Deserialize<'de> for DecisionQuestion
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 DecisionQuestion
impl PartialEq for DecisionQuestion
Source§impl Serialize for DecisionQuestion
impl Serialize for DecisionQuestion
impl StructuralPartialEq for DecisionQuestion
Auto Trait Implementations§
impl Freeze for DecisionQuestion
impl RefUnwindSafe for DecisionQuestion
impl Send for DecisionQuestion
impl Sync for DecisionQuestion
impl Unpin for DecisionQuestion
impl UnsafeUnpin for DecisionQuestion
impl UnwindSafe for DecisionQuestion
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