pub struct PaymentSourceResponse {
pub card: Option<CardResponse>,
pub paypal: Option<PayPalPaymentSourceResponse>,
}
Fields
card: Option<CardResponse>
paypal: Option<PayPalPaymentSourceResponse>
Trait Implementations
sourceimpl Clone for PaymentSourceResponse
impl Clone for PaymentSourceResponse
sourcefn clone(&self) -> PaymentSourceResponse
fn clone(&self) -> PaymentSourceResponse
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 PaymentSourceResponse
impl Debug for PaymentSourceResponse
sourceimpl Default for PaymentSourceResponse
impl Default for PaymentSourceResponse
sourcefn default() -> PaymentSourceResponse
fn default() -> PaymentSourceResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PaymentSourceResponse
impl<'de> Deserialize<'de> for PaymentSourceResponse
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 PaymentSourceResponse
impl Serialize for PaymentSourceResponse
Auto Trait Implementations
impl RefUnwindSafe for PaymentSourceResponse
impl Send for PaymentSourceResponse
impl Sync for PaymentSourceResponse
impl Unpin for PaymentSourceResponse
impl UnwindSafe for PaymentSourceResponse
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