pub struct BillingResponse {
pub end_time: Option<String>,
pub start_time: Option<String>,
pub customer_id: Option<Box<String>>,
pub vendor_state: Option<String>,
pub status: Option<Box<BillingStatus>>,
pub total: Option<Box<BillingTotal>>,
pub regions: Option<HashMap<String, BillingRegions>>,
pub invoice_id: Option<i32>,
pub line_items: Option<Vec<BillingResponseLineItem>>,
}
Fields§
§end_time: Option<String>
Date and time in ISO 8601 format.
start_time: Option<String>
Date and time in ISO 8601 format.
customer_id: Option<Box<String>>
§vendor_state: Option<String>
The current state of our third-party billing vendor. One of up
or down
.
status: Option<Box<BillingStatus>>
§total: Option<Box<BillingTotal>>
§regions: Option<HashMap<String, BillingRegions>>
Breakdown of regional data for products that are region based.
invoice_id: Option<i32>
§line_items: Option<Vec<BillingResponseLineItem>>
Implementations§
Source§impl BillingResponse
impl BillingResponse
pub fn new() -> BillingResponse
Trait Implementations§
Source§impl Clone for BillingResponse
impl Clone for BillingResponse
Source§fn clone(&self) -> BillingResponse
fn clone(&self) -> BillingResponse
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 BillingResponse
impl Debug for BillingResponse
Source§impl Default for BillingResponse
impl Default for BillingResponse
Source§fn default() -> BillingResponse
fn default() -> BillingResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingResponse
impl<'de> Deserialize<'de> for BillingResponse
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 BillingResponse
impl PartialEq for BillingResponse
Source§impl Serialize for BillingResponse
impl Serialize for BillingResponse
impl StructuralPartialEq for BillingResponse
Auto Trait Implementations§
impl Freeze for BillingResponse
impl RefUnwindSafe for BillingResponse
impl Send for BillingResponse
impl Sync for BillingResponse
impl Unpin for BillingResponse
impl UnwindSafe for BillingResponse
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