pub struct ProcessorResponse {
pub avs_code: Option<AvsCode>,
pub cvv_code: Option<CvvCode>,
pub response_code: Option<ResponseCode>,
pub payment_advice_code: Option<i32>,
}
Fields§
§avs_code: Option<AvsCode>
The address verification code for Visa, Discover, Mastercard, or American Express transactions.
cvv_code: Option<CvvCode>
The card verification value code for for Visa, Discover, Mastercard, or American Express.
response_code: Option<ResponseCode>
Processor response code for the non-PayPal payment processor errors.
payment_advice_code: Option<i32>
The declined payment transactions might have payment advice codes. The card networks, like Visa and Mastercard, return payment advice codes.
Trait Implementations§
Source§impl Clone for ProcessorResponse
impl Clone for ProcessorResponse
Source§fn clone(&self) -> ProcessorResponse
fn clone(&self) -> ProcessorResponse
Returns a copy 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 ProcessorResponse
impl Debug for ProcessorResponse
Source§impl Default for ProcessorResponse
impl Default for ProcessorResponse
Source§fn default() -> ProcessorResponse
fn default() -> ProcessorResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProcessorResponse
impl<'de> Deserialize<'de> for ProcessorResponse
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
Auto Trait Implementations§
impl Freeze for ProcessorResponse
impl RefUnwindSafe for ProcessorResponse
impl Send for ProcessorResponse
impl Sync for ProcessorResponse
impl Unpin for ProcessorResponse
impl UnwindSafe for ProcessorResponse
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