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