pub struct ThreadRollbackResponse {
pub thread: Thread,
}Expand description
ThreadRollbackResponse
JSON schema
{
"title": "ThreadRollbackResponse",
"type": "object",
"required": [
"thread"
],
"properties": {
"thread": {
"description": "The updated thread after applying the rollback, with `turns` populated.\n\nThe ThreadItems stored in each Turn are lossy since we explicitly do not persist all agent interactions, such as command executions. This is the same behavior as `thread/resume`.",
"allOf": [
{
"$ref": "#/definitions/Thread"
}
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§thread: ThreadThe updated thread after applying the rollback, with turns populated.
The ThreadItems stored in each Turn are lossy since we explicitly do not persist all agent interactions, such as command executions. This is the same behavior as thread/resume.
Trait Implementations§
Source§impl Clone for ThreadRollbackResponse
impl Clone for ThreadRollbackResponse
Source§fn clone(&self) -> ThreadRollbackResponse
fn clone(&self) -> ThreadRollbackResponse
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 ThreadRollbackResponse
impl Debug for ThreadRollbackResponse
Source§impl<'de> Deserialize<'de> for ThreadRollbackResponse
impl<'de> Deserialize<'de> for ThreadRollbackResponse
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
Auto Trait Implementations§
impl Freeze for ThreadRollbackResponse
impl RefUnwindSafe for ThreadRollbackResponse
impl Send for ThreadRollbackResponse
impl Sync for ThreadRollbackResponse
impl Unpin for ThreadRollbackResponse
impl UnsafeUnpin for ThreadRollbackResponse
impl UnwindSafe for ThreadRollbackResponse
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