pub struct PlanDeltaNotification {
pub delta: String,
pub item_id: String,
pub thread_id: String,
pub turn_id: String,
}Expand description
EXPERIMENTAL - proposed plan streaming deltas for plan items. Clients should not assume concatenated deltas match the completed plan item content.
JSON schema
{
"title": "PlanDeltaNotification",
"description": "EXPERIMENTAL - proposed plan streaming deltas for plan items. Clients should not assume concatenated deltas match the completed plan item content.",
"type": "object",
"required": [
"delta",
"itemId",
"threadId",
"turnId"
],
"properties": {
"delta": {
"type": "string"
},
"itemId": {
"type": "string"
},
"threadId": {
"type": "string"
},
"turnId": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§delta: String§item_id: String§thread_id: String§turn_id: StringTrait Implementations§
Source§impl Clone for PlanDeltaNotification
impl Clone for PlanDeltaNotification
Source§fn clone(&self) -> PlanDeltaNotification
fn clone(&self) -> PlanDeltaNotification
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 PlanDeltaNotification
impl Debug for PlanDeltaNotification
Source§impl<'de> Deserialize<'de> for PlanDeltaNotification
impl<'de> Deserialize<'de> for PlanDeltaNotification
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<PlanDeltaNotification> for ServerNotification
impl From<PlanDeltaNotification> for ServerNotification
Source§fn from(value: PlanDeltaNotification) -> Self
fn from(value: PlanDeltaNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PlanDeltaNotification
impl RefUnwindSafe for PlanDeltaNotification
impl Send for PlanDeltaNotification
impl Sync for PlanDeltaNotification
impl Unpin for PlanDeltaNotification
impl UnsafeUnpin for PlanDeltaNotification
impl UnwindSafe for PlanDeltaNotification
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