pub struct TurnStarted {
pub thread_id: String,
pub turn_id: String,
pub input_text: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Indicates the CLI accepted a new turn within a thread.
Fields§
§thread_id: String§turn_id: String§input_text: Option<String>Original input text when upstream echoes it; may be omitted for security reasons.
extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for TurnStarted
impl Clone for TurnStarted
Source§fn clone(&self) -> TurnStarted
fn clone(&self) -> TurnStarted
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 TurnStarted
impl Debug for TurnStarted
Source§impl<'de> Deserialize<'de> for TurnStarted
impl<'de> Deserialize<'de> for TurnStarted
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 TurnStarted
impl RefUnwindSafe for TurnStarted
impl Send for TurnStarted
impl Sync for TurnStarted
impl Unpin for TurnStarted
impl UnsafeUnpin for TurnStarted
impl UnwindSafe for TurnStarted
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