pub struct ErrorOutput {
pub schema_version: &'static str,
pub error: bool,
pub code: u8,
pub message: String,
pub category: String,
pub retryable: bool,
pub retry_after_ms: Option<u64>,
pub hint: Option<String>,
pub docs_url: &'static str,
pub correlation_id: String,
}Fields§
§schema_version: &'static str§error: bool§code: u8§message: String§category: String§retryable: bool§retry_after_ms: Option<u64>§hint: Option<String>§docs_url: &'static str§correlation_id: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorOutput
impl RefUnwindSafe for ErrorOutput
impl Send for ErrorOutput
impl Sync for ErrorOutput
impl Unpin for ErrorOutput
impl UnsafeUnpin for ErrorOutput
impl UnwindSafe for ErrorOutput
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