Struct bitwarden_api_api::models::billing_source::BillingSource
source · 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§fn eq(&self, other: &BillingSource) -> bool
fn eq(&self, other: &BillingSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BillingSource
impl Serialize for BillingSource
impl StructuralPartialEq for BillingSource
Auto Trait Implementations§
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