pub struct InfraError {
pub code: String,
pub message: String,
pub category: ErrorCategory,
pub retryable: bool,
pub request_id: String,
pub details: Value,
}Fields§
§code: String§message: String§category: ErrorCategory§retryable: bool§request_id: String§details: ValueTrait Implementations§
Source§impl Clone for InfraError
impl Clone for InfraError
Source§fn clone(&self) -> InfraError
fn clone(&self) -> InfraError
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 InfraError
impl Debug for InfraError
Source§impl<'de> Deserialize<'de> for InfraError
impl<'de> Deserialize<'de> for InfraError
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 PartialEq for InfraError
impl PartialEq for InfraError
Source§impl Serialize for InfraError
impl Serialize for InfraError
impl StructuralPartialEq for InfraError
Auto Trait Implementations§
impl Freeze for InfraError
impl RefUnwindSafe for InfraError
impl Send for InfraError
impl Sync for InfraError
impl Unpin for InfraError
impl UnsafeUnpin for InfraError
impl UnwindSafe for InfraError
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