Struct fastly_api::models::billing_response::BillingResponse
source · pub struct BillingResponse {
pub end_time: Option<String>,
pub start_time: Option<String>,
pub invoice_id: Option<Box<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, HashMap<String, Value>>>,
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.
invoice_id: Option<Box<String>>
§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, HashMap<String, Value>>>
Breakdown of regional data for products that are region based.
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