pub enum DecisionInputAssistantContent {
Text(String),
DecisionInputAssistantContentParts(DecisionInputAssistantContentParts),
}Available on crate feature
decision-types only.Expand description
A text string or an ordered list of output text and refusal parts.
Variants§
Text(String)
DecisionInputAssistantContentParts(DecisionInputAssistantContentParts)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DecisionInputAssistantContent
impl<'de> Deserialize<'de> for DecisionInputAssistantContent
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 DecisionInputAssistantContent
Auto Trait Implementations§
impl Freeze for DecisionInputAssistantContent
impl RefUnwindSafe for DecisionInputAssistantContent
impl Send for DecisionInputAssistantContent
impl Sync for DecisionInputAssistantContent
impl Unpin for DecisionInputAssistantContent
impl UnsafeUnpin for DecisionInputAssistantContent
impl UnwindSafe for DecisionInputAssistantContent
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