pub struct GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod {
pub brand: Option<String>,
pub expires_month: Option<i64>,
pub expires_year: Option<i64>,
pub last4: Option<String>,
}Expand description
Metadata for the default card, or null.
Fields§
§brand: Option<String>Card network brand, e.g. visa.
expires_month: Option<i64>Card expiration month.
expires_year: Option<i64>Four-digit card expiration year.
last4: Option<String>Last four card digits.
Implementations§
Source§impl GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
pub fn serialize<__S>(
__self: &GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl<'de> GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl<'de> Deserialize<'de> for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
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
Auto Trait Implementations§
impl Freeze for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl RefUnwindSafe for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl Send for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl Sync for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl Unpin for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl UnsafeUnpin for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
impl UnwindSafe for GetOrganizationPaymentMethodResponse200ApplicationJsonpaymentMethod
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