pub struct BillingResponseModel {
pub object: Option<String>,
pub balance: Option<f64>,
pub payment_source: Option<Box<BillingSource>>,
pub invoices: Option<Vec<BillingInvoice>>,
pub transactions: Option<Vec<BillingTransaction>>,
}
Fields§
§object: Option<String>
§balance: Option<f64>
§payment_source: Option<Box<BillingSource>>
§invoices: Option<Vec<BillingInvoice>>
§transactions: Option<Vec<BillingTransaction>>
Implementations§
source§impl BillingResponseModel
impl BillingResponseModel
pub fn new() -> BillingResponseModel
Trait Implementations§
source§impl Clone for BillingResponseModel
impl Clone for BillingResponseModel
source§fn clone(&self) -> BillingResponseModel
fn clone(&self) -> BillingResponseModel
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 BillingResponseModel
impl Debug for BillingResponseModel
source§impl Default for BillingResponseModel
impl Default for BillingResponseModel
source§fn default() -> BillingResponseModel
fn default() -> BillingResponseModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BillingResponseModel
impl<'de> Deserialize<'de> for BillingResponseModel
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 BillingResponseModel
impl PartialEq for BillingResponseModel
source§fn eq(&self, other: &BillingResponseModel) -> bool
fn eq(&self, other: &BillingResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BillingResponseModel
impl Serialize for BillingResponseModel
impl StructuralPartialEq for BillingResponseModel
Auto Trait Implementations§
impl RefUnwindSafe for BillingResponseModel
impl Send for BillingResponseModel
impl Sync for BillingResponseModel
impl Unpin for BillingResponseModel
impl UnwindSafe for BillingResponseModel
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