pub struct PaymentMethodResponse {
pub payment_id: String,
pub last_4_digits: String,
pub card_brand: String,
pub project_uuid: String,
}
Fields
payment_id: String
last_4_digits: String
card_brand: String
project_uuid: String
Implementations
Trait Implementations
sourceimpl Clone for PaymentMethodResponse
impl Clone for PaymentMethodResponse
sourcefn clone(&self) -> PaymentMethodResponse
fn clone(&self) -> PaymentMethodResponse
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 PaymentMethodResponse
impl Debug for PaymentMethodResponse
sourceimpl Default for PaymentMethodResponse
impl Default for PaymentMethodResponse
sourcefn default() -> PaymentMethodResponse
fn default() -> PaymentMethodResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PaymentMethodResponse
impl<'de> Deserialize<'de> for PaymentMethodResponse
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 PartialEq<PaymentMethodResponse> for PaymentMethodResponse
impl PartialEq<PaymentMethodResponse> for PaymentMethodResponse
sourcefn eq(&self, other: &PaymentMethodResponse) -> bool
fn eq(&self, other: &PaymentMethodResponse) -> bool
sourceimpl Serialize for PaymentMethodResponse
impl Serialize for PaymentMethodResponse
impl StructuralPartialEq for PaymentMethodResponse
Auto Trait Implementations
impl RefUnwindSafe for PaymentMethodResponse
impl Send for PaymentMethodResponse
impl Sync for PaymentMethodResponse
impl Unpin for PaymentMethodResponse
impl UnwindSafe for PaymentMethodResponse
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