pub struct ProviderErrorDetails {
pub provider: PaymentProvider,
pub status: u16,
pub code: Option<String>,
pub request_id: Option<String>,
pub message: String,
}Expand description
Redacted provider error details safe to expose to application code.
Fields§
§provider: PaymentProviderProvider that returned the error.
status: u16HTTP status code.
code: Option<String>Safe provider error code.
request_id: Option<String>Safe provider request ID.
message: StringRedacted message.
Trait Implementations§
Source§impl Clone for ProviderErrorDetails
impl Clone for ProviderErrorDetails
Source§fn clone(&self) -> ProviderErrorDetails
fn clone(&self) -> ProviderErrorDetails
Returns a duplicate of the value. Read more
1.0.0 · 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 ProviderErrorDetails
impl Debug for ProviderErrorDetails
Source§impl PartialEq for ProviderErrorDetails
impl PartialEq for ProviderErrorDetails
impl Eq for ProviderErrorDetails
impl StructuralPartialEq for ProviderErrorDetails
Auto Trait Implementations§
impl Freeze for ProviderErrorDetails
impl RefUnwindSafe for ProviderErrorDetails
impl Send for ProviderErrorDetails
impl Sync for ProviderErrorDetails
impl Unpin for ProviderErrorDetails
impl UnsafeUnpin for ProviderErrorDetails
impl UnwindSafe for ProviderErrorDetails
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