pub struct DelegationFailureInfo {
pub failure: DelegationFailure,
pub severity: FailureSeverity,
pub retryable: bool,
pub partial_output: Option<Value>,
pub recommended_fallback: Option<String>,
pub audit_ref: Option<String>,
pub timestamp: String,
}Expand description
Enriched failure envelope carrying metadata alongside the failure variant.
Fields§
§failure: DelegationFailureThe specific failure that occurred.
severity: FailureSeverityHow severe the failure is.
retryable: boolWhether the caller should retry.
partial_output: Option<Value>Partial output produced before the failure, if any.
recommended_fallback: Option<String>A recommended fallback agent or strategy identifier.
audit_ref: Option<String>An opaque reference for the audit log.
timestamp: StringISO-8601 timestamp of when the failure occurred.
Trait Implementations§
Source§impl Clone for DelegationFailureInfo
impl Clone for DelegationFailureInfo
Source§fn clone(&self) -> DelegationFailureInfo
fn clone(&self) -> DelegationFailureInfo
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 DelegationFailureInfo
impl Debug for DelegationFailureInfo
Source§impl<'de> Deserialize<'de> for DelegationFailureInfo
impl<'de> Deserialize<'de> for DelegationFailureInfo
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 DelegationFailureInfo
impl RefUnwindSafe for DelegationFailureInfo
impl Send for DelegationFailureInfo
impl Sync for DelegationFailureInfo
impl Unpin for DelegationFailureInfo
impl UnsafeUnpin for DelegationFailureInfo
impl UnwindSafe for DelegationFailureInfo
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