Struct primer_api::model::StatusReasonApiSchema  
source · [−]pub struct StatusReasonApiSchema {
    pub decline_type: Option<String>,
    pub code: Option<String>,
    pub message: Option<String>,
    pub type_: String,
}Fields
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.
code: Option<String>If the error is of type ISSUER_DECLINED, this will be returned.
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.
type_: StringType of the status.
Trait Implementations
sourceimpl Debug for StatusReasonApiSchema
 
impl Debug for StatusReasonApiSchema
sourceimpl Default for StatusReasonApiSchema
 
impl Default for StatusReasonApiSchema
sourcefn default() -> StatusReasonApiSchema
 
fn default() -> StatusReasonApiSchema
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StatusReasonApiSchema
 
impl<'de> Deserialize<'de> for StatusReasonApiSchema
sourcefn 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
sourceimpl Display for StatusReasonApiSchema
 
impl Display for StatusReasonApiSchema
sourceimpl Serialize for StatusReasonApiSchema
 
impl Serialize for StatusReasonApiSchema
Auto Trait Implementations
impl RefUnwindSafe for StatusReasonApiSchema
impl Send for StatusReasonApiSchema
impl Sync for StatusReasonApiSchema
impl Unpin for StatusReasonApiSchema
impl UnwindSafe for StatusReasonApiSchema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more