pub struct AssistantOutput {
pub safe_text: String,
pub raw_text: String,
pub state: OutputState,
}Expand description
Canonical assistant output payload.
Fields§
§safe_text: String§raw_text: String§state: OutputStateTrait Implementations§
Source§impl Clone for AssistantOutput
impl Clone for AssistantOutput
Source§fn clone(&self) -> AssistantOutput
fn clone(&self) -> AssistantOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssistantOutput
impl Debug for AssistantOutput
Source§impl<'de> Deserialize<'de> for AssistantOutput
impl<'de> Deserialize<'de> for AssistantOutput
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 AssistantOutput
impl RefUnwindSafe for AssistantOutput
impl Send for AssistantOutput
impl Sync for AssistantOutput
impl Unpin for AssistantOutput
impl UnsafeUnpin for AssistantOutput
impl UnwindSafe for AssistantOutput
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