Struct paypal_rust::resources::processor_response::ProcessorResponse
source · [−]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
sourceimpl Clone for ProcessorResponse
impl Clone for ProcessorResponse
sourcefn clone(&self) -> ProcessorResponse
fn clone(&self) -> ProcessorResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProcessorResponse
impl Debug for ProcessorResponse
sourceimpl Default for ProcessorResponse
impl Default for ProcessorResponse
sourcefn default() -> ProcessorResponse
fn default() -> ProcessorResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProcessorResponse
impl<'de> Deserialize<'de> for ProcessorResponse
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 Serialize for ProcessorResponse
impl Serialize for ProcessorResponse
Auto Trait Implementations
impl RefUnwindSafe for ProcessorResponse
impl Send for ProcessorResponse
impl Sync for ProcessorResponse
impl Unpin for ProcessorResponse
impl UnwindSafe for ProcessorResponse
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