pub struct StatusReasonApiSchema {
pub code: Option<String>,
pub type_: String,
pub message: Option<String>,
pub decline_type: Option<String>,
}
Fields§
§code: Option<String>
If the error is of type ISSUER_DECLINED
, this will be returned.
type_: String
Type of the status.
message: Option<String>
In case of an error on the processor’s part, we will return the message returned by the processor. This is usually a human readable error.
decline_type: Option<String>
If the error is of type ISSUER_DECLINED
this will be returned.
Declines of type SOFT_DECLINE
may be retried,
whereas declines of type HARD_DECLINE
should not be retried.
Trait Implementations§
Source§impl Debug for StatusReasonApiSchema
impl Debug for StatusReasonApiSchema
Source§impl Default for StatusReasonApiSchema
impl Default for StatusReasonApiSchema
Source§fn default() -> StatusReasonApiSchema
fn default() -> StatusReasonApiSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatusReasonApiSchema
impl<'de> Deserialize<'de> for StatusReasonApiSchema
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 Display for StatusReasonApiSchema
impl Display for StatusReasonApiSchema
Auto Trait Implementations§
impl Freeze for StatusReasonApiSchema
impl RefUnwindSafe for StatusReasonApiSchema
impl Send for StatusReasonApiSchema
impl Sync for StatusReasonApiSchema
impl Unpin for StatusReasonApiSchema
impl UnwindSafe for StatusReasonApiSchema
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