pub struct BillingCustomer {
pub email: String,
pub id: String,
}Fields§
§email: String§id: StringImplementations§
source§impl BillingCustomer
impl BillingCustomer
sourcepub fn new(email: String, id: String) -> BillingCustomer
pub fn new(email: String, id: String) -> BillingCustomer
A representation of a QCS’s account billing customer. Note, balance does not account for the upcoming invoice.
Trait Implementations§
source§impl Clone for BillingCustomer
impl Clone for BillingCustomer
source§fn clone(&self) -> BillingCustomer
fn clone(&self) -> BillingCustomer
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 BillingCustomer
impl Debug for BillingCustomer
source§impl Default for BillingCustomer
impl Default for BillingCustomer
source§fn default() -> BillingCustomer
fn default() -> BillingCustomer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BillingCustomer
impl<'de> Deserialize<'de> for BillingCustomer
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<BillingCustomer> for BillingCustomer
impl PartialEq<BillingCustomer> for BillingCustomer
source§fn eq(&self, other: &BillingCustomer) -> bool
fn eq(&self, other: &BillingCustomer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BillingCustomer
impl Serialize for BillingCustomer
impl StructuralPartialEq for BillingCustomer
Auto Trait Implementations§
impl RefUnwindSafe for BillingCustomer
impl Send for BillingCustomer
impl Sync for BillingCustomer
impl Unpin for BillingCustomer
impl UnwindSafe for BillingCustomer
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