pub struct TurnCompletedNotification {
pub thread_id: String,
pub turn: Turn,
}Expand description
TurnCompletedNotification
JSON schema
{
"title": "TurnCompletedNotification",
"type": "object",
"required": [
"threadId",
"turn"
],
"properties": {
"threadId": {
"type": "string"
},
"turn": {
"$ref": "#/definitions/Turn"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§thread_id: String§turn: TurnTrait Implementations§
Source§impl Clone for TurnCompletedNotification
impl Clone for TurnCompletedNotification
Source§fn clone(&self) -> TurnCompletedNotification
fn clone(&self) -> TurnCompletedNotification
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 TurnCompletedNotification
impl Debug for TurnCompletedNotification
Source§impl<'de> Deserialize<'de> for TurnCompletedNotification
impl<'de> Deserialize<'de> for TurnCompletedNotification
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 From<TurnCompletedNotification> for ServerNotification
impl From<TurnCompletedNotification> for ServerNotification
Source§fn from(value: TurnCompletedNotification) -> Self
fn from(value: TurnCompletedNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TurnCompletedNotification
impl RefUnwindSafe for TurnCompletedNotification
impl Send for TurnCompletedNotification
impl Sync for TurnCompletedNotification
impl Unpin for TurnCompletedNotification
impl UnsafeUnpin for TurnCompletedNotification
impl UnwindSafe for TurnCompletedNotification
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