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