pub struct ErrorNotification {
pub error: String,
pub thread_id: Option<String>,
pub turn_id: Option<String>,
pub will_retry: bool,
}Expand description
error notification.
Fields§
§error: String§thread_id: Option<String>§turn_id: Option<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 · 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
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