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