pub struct TurnDiffUpdatedNotification {
pub diff: String,
pub thread_id: String,
pub turn_id: String,
}Expand description
Notification that the turn-level unified diff has changed. Contains the latest aggregated diff across all file changes in the turn.
JSON schema
{
"title": "TurnDiffUpdatedNotification",
"description": "Notification that the turn-level unified diff has changed. Contains the latest aggregated diff across all file changes in the turn.",
"type": "object",
"required": [
"diff",
"threadId",
"turnId"
],
"properties": {
"diff": {
"type": "string"
},
"threadId": {
"type": "string"
},
"turnId": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§diff: String§thread_id: String§turn_id: StringTrait Implementations§
Source§impl Clone for TurnDiffUpdatedNotification
impl Clone for TurnDiffUpdatedNotification
Source§fn clone(&self) -> TurnDiffUpdatedNotification
fn clone(&self) -> TurnDiffUpdatedNotification
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 TurnDiffUpdatedNotification
impl Debug for TurnDiffUpdatedNotification
Source§impl<'de> Deserialize<'de> for TurnDiffUpdatedNotification
impl<'de> Deserialize<'de> for TurnDiffUpdatedNotification
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<TurnDiffUpdatedNotification> for ServerNotification
impl From<TurnDiffUpdatedNotification> for ServerNotification
Source§fn from(value: TurnDiffUpdatedNotification) -> Self
fn from(value: TurnDiffUpdatedNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TurnDiffUpdatedNotification
impl RefUnwindSafe for TurnDiffUpdatedNotification
impl Send for TurnDiffUpdatedNotification
impl Sync for TurnDiffUpdatedNotification
impl Unpin for TurnDiffUpdatedNotification
impl UnsafeUnpin for TurnDiffUpdatedNotification
impl UnwindSafe for TurnDiffUpdatedNotification
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