pub struct BillingSource {
pub type: Option<PaymentMethodType>,
pub card_brand: Option<String>,
pub description: Option<String>,
pub needs_verification: Option<bool>,
}
Fields§
§type: Option<PaymentMethodType>
§card_brand: Option<String>
§description: Option<String>
§needs_verification: Option<bool>
Implementations§
Source§impl BillingSource
impl BillingSource
pub fn new() -> BillingSource
Trait Implementations§
Source§impl Clone for BillingSource
impl Clone for BillingSource
Source§fn clone(&self) -> BillingSource
fn clone(&self) -> BillingSource
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 BillingSource
impl Debug for BillingSource
Source§impl Default for BillingSource
impl Default for BillingSource
Source§fn default() -> BillingSource
fn default() -> BillingSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingSource
impl<'de> Deserialize<'de> for BillingSource
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 BillingSource
impl PartialEq for BillingSource
Source§impl Serialize for BillingSource
impl Serialize for BillingSource
impl StructuralPartialEq for BillingSource
Auto Trait Implementations§
impl Freeze for BillingSource
impl RefUnwindSafe for BillingSource
impl Send for BillingSource
impl Sync for BillingSource
impl Unpin for BillingSource
impl UnwindSafe for BillingSource
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