pub struct PaymentSourceToken {
pub id: String,
pub type: String,
}
Expand description
The payment source used to fund the payment.
Fields§
§id: String
The PayPal-generated ID for the token.
type: String
The tokenization method that generated the ID.
Can only be BILLING_AGREEMENT.
Trait Implementations§
Source§impl Clone for PaymentSourceToken
impl Clone for PaymentSourceToken
Source§fn clone(&self) -> PaymentSourceToken
fn clone(&self) -> PaymentSourceToken
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 PaymentSourceToken
impl Debug for PaymentSourceToken
Auto Trait Implementations§
impl Freeze for PaymentSourceToken
impl RefUnwindSafe for PaymentSourceToken
impl Send for PaymentSourceToken
impl Sync for PaymentSourceToken
impl Unpin for PaymentSourceToken
impl UnwindSafe for PaymentSourceToken
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