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