pub struct ToolErrorDef {
pub code: String,
pub description: String,
pub retryable: bool,
}Fields§
§code: StringSCREAMING_SNAKE error code, e.g. “FILE_NOT_FOUND”.
description: String§retryable: boolTrait Implementations§
Source§impl Clone for ToolErrorDef
impl Clone for ToolErrorDef
Source§fn clone(&self) -> ToolErrorDef
fn clone(&self) -> ToolErrorDef
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 ToolErrorDef
impl Debug for ToolErrorDef
Source§impl<'de> Deserialize<'de> for ToolErrorDef
impl<'de> Deserialize<'de> for ToolErrorDef
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 ToolErrorDef
impl RefUnwindSafe for ToolErrorDef
impl Send for ToolErrorDef
impl Sync for ToolErrorDef
impl Unpin for ToolErrorDef
impl UnsafeUnpin for ToolErrorDef
impl UnwindSafe for ToolErrorDef
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