#[non_exhaustive]pub struct ExchangeErrorContext {
pub exchange: ExchangeId,
pub operation: Option<String>,
pub code: Option<String>,
pub status: Option<u16>,
pub message: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.exchange: ExchangeId§operation: Option<String>§code: Option<String>§status: Option<u16>§message: StringImplementations§
Source§impl ExchangeErrorContext
impl ExchangeErrorContext
pub fn builder() -> ExchangeErrorContextBuilder
Trait Implementations§
Source§impl Clone for ExchangeErrorContext
impl Clone for ExchangeErrorContext
Source§fn clone(&self) -> ExchangeErrorContext
fn clone(&self) -> ExchangeErrorContext
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 ExchangeErrorContext
impl Debug for ExchangeErrorContext
Source§impl From<ExchangeErrorContext> for Error
impl From<ExchangeErrorContext> for Error
Source§fn from(context: ExchangeErrorContext) -> Self
fn from(context: ExchangeErrorContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExchangeErrorContext
impl RefUnwindSafe for ExchangeErrorContext
impl Send for ExchangeErrorContext
impl Sync for ExchangeErrorContext
impl Unpin for ExchangeErrorContext
impl UnsafeUnpin for ExchangeErrorContext
impl UnwindSafe for ExchangeErrorContext
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