pub struct ItemStartedNotification {
pub item: ThreadItem,
pub started_at_ms: i64,
pub thread_id: String,
pub turn_id: String,
}Expand description
ItemStartedNotification
JSON schema
{
"title": "ItemStartedNotification",
"type": "object",
"required": [
"item",
"startedAtMs",
"threadId",
"turnId"
],
"properties": {
"item": {
"$ref": "#/definitions/ThreadItem"
},
"startedAtMs": {
"description": "Unix timestamp (in milliseconds) when this item lifecycle started.",
"type": "integer",
"format": "int64"
},
"threadId": {
"type": "string"
},
"turnId": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§item: ThreadItem§started_at_ms: i64Unix timestamp (in milliseconds) when this item lifecycle started.
thread_id: String§turn_id: StringTrait Implementations§
Source§impl Clone for ItemStartedNotification
impl Clone for ItemStartedNotification
Source§fn clone(&self) -> ItemStartedNotification
fn clone(&self) -> ItemStartedNotification
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 ItemStartedNotification
impl Debug for ItemStartedNotification
Source§impl<'de> Deserialize<'de> for ItemStartedNotification
impl<'de> Deserialize<'de> for ItemStartedNotification
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<ItemStartedNotification> for ServerNotification
impl From<ItemStartedNotification> for ServerNotification
Source§fn from(value: ItemStartedNotification) -> Self
fn from(value: ItemStartedNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ItemStartedNotification
impl RefUnwindSafe for ItemStartedNotification
impl Send for ItemStartedNotification
impl Sync for ItemStartedNotification
impl Unpin for ItemStartedNotification
impl UnsafeUnpin for ItemStartedNotification
impl UnwindSafe for ItemStartedNotification
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