pub struct InternalAgentFailure {
pub code: SafeCode,
pub message: SafeErrorMessage,
pub retryable: bool,
pub model_error: Option<ModelErrorSummary>,
}Fields§
§code: SafeCode§message: SafeErrorMessage§retryable: bool§model_error: Option<ModelErrorSummary>Trait Implementations§
Source§impl Clone for InternalAgentFailure
impl Clone for InternalAgentFailure
Source§fn clone(&self) -> InternalAgentFailure
fn clone(&self) -> InternalAgentFailure
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 InternalAgentFailure
impl Debug for InternalAgentFailure
Source§impl<'de> Deserialize<'de> for InternalAgentFailure
impl<'de> Deserialize<'de> for InternalAgentFailure
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
impl Eq for InternalAgentFailure
Source§impl JsonSchema for InternalAgentFailure
impl JsonSchema for InternalAgentFailure
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for InternalAgentFailure
impl PartialEq for InternalAgentFailure
Source§fn eq(&self, other: &InternalAgentFailure) -> bool
fn eq(&self, other: &InternalAgentFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InternalAgentFailure
impl Serialize for InternalAgentFailure
impl StructuralPartialEq for InternalAgentFailure
Auto Trait Implementations§
impl Freeze for InternalAgentFailure
impl RefUnwindSafe for InternalAgentFailure
impl Send for InternalAgentFailure
impl Sync for InternalAgentFailure
impl Unpin for InternalAgentFailure
impl UnsafeUnpin for InternalAgentFailure
impl UnwindSafe for InternalAgentFailure
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