pub struct PaymentData {
pub token: String,
pub provider: PaymentProviderType,
pub billing_address: Option<Address>,
}Fields§
§token: String§provider: PaymentProviderType§billing_address: Option<Address>Trait Implementations§
Source§impl Clone for PaymentData
impl Clone for PaymentData
Source§fn clone(&self) -> PaymentData
fn clone(&self) -> PaymentData
Returns a duplicate 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 PaymentData
impl Debug for PaymentData
Source§impl<'de> Deserialize<'de> for PaymentData
impl<'de> Deserialize<'de> for PaymentData
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
Source§impl PartialEq for PaymentData
impl PartialEq for PaymentData
Source§impl Serialize for PaymentData
impl Serialize for PaymentData
impl StructuralPartialEq for PaymentData
Auto Trait Implementations§
impl Freeze for PaymentData
impl RefUnwindSafe for PaymentData
impl Send for PaymentData
impl Sync for PaymentData
impl Unpin for PaymentData
impl UnwindSafe for PaymentData
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