pub struct MinimalTokenizedPaymentMethodRequest {
pub type: String,
pub token: String,
}
Fields§
§type: String
§token: String
Implementations§
Source§impl MinimalTokenizedPaymentMethodRequest
impl MinimalTokenizedPaymentMethodRequest
pub fn new(type: String, token: String) -> MinimalTokenizedPaymentMethodRequest
Trait Implementations§
Source§impl Clone for MinimalTokenizedPaymentMethodRequest
impl Clone for MinimalTokenizedPaymentMethodRequest
Source§fn clone(&self) -> MinimalTokenizedPaymentMethodRequest
fn clone(&self) -> MinimalTokenizedPaymentMethodRequest
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 Default for MinimalTokenizedPaymentMethodRequest
impl Default for MinimalTokenizedPaymentMethodRequest
Source§fn default() -> MinimalTokenizedPaymentMethodRequest
fn default() -> MinimalTokenizedPaymentMethodRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MinimalTokenizedPaymentMethodRequest
impl<'de> Deserialize<'de> for MinimalTokenizedPaymentMethodRequest
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 MinimalTokenizedPaymentMethodRequest
impl PartialEq for MinimalTokenizedPaymentMethodRequest
Source§fn eq(&self, other: &MinimalTokenizedPaymentMethodRequest) -> bool
fn eq(&self, other: &MinimalTokenizedPaymentMethodRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MinimalTokenizedPaymentMethodRequest
Auto Trait Implementations§
impl Freeze for MinimalTokenizedPaymentMethodRequest
impl RefUnwindSafe for MinimalTokenizedPaymentMethodRequest
impl Send for MinimalTokenizedPaymentMethodRequest
impl Sync for MinimalTokenizedPaymentMethodRequest
impl Unpin for MinimalTokenizedPaymentMethodRequest
impl UnwindSafe for MinimalTokenizedPaymentMethodRequest
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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