pub struct Details {
pub code: Option<String>,
pub correlation_id: Option<String>,
pub info: Option<String>,
pub message: Option<String>,
}
Expand description
Represents the details of an error.
Fields§
§code: Option<String>
Multi-part error code for classification and root causing of errors (ex: 400.200.100.432).
correlation_id: Option<String>
Unique identifier for the transaction to aid in debugging.
info: Option<String>
Human readable helpful detailed text context for debugging (ex: “The following mechanisms are supported…”).
message: Option<String>
Human readable helpful error message to provide additional context for error (ex: “Authentication method not supported”).
Trait Implementations§
impl StructuralPartialEq for Details
Auto Trait Implementations§
impl Freeze for Details
impl RefUnwindSafe for Details
impl Send for Details
impl Sync for Details
impl Unpin for Details
impl UnwindSafe for Details
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