Struct fastly_api::models::billing_total::BillingTotal
source · pub struct BillingTotal {Show 16 fields
pub bandwidth: Option<f32>,
pub bandwidth_cost: Option<f32>,
pub bandwidth_units: Option<String>,
pub cost: Option<f32>,
pub cost_before_discount: Option<f32>,
pub discount: Option<f32>,
pub extras: Option<Vec<BillingTotalExtras>>,
pub extras_cost: Option<f32>,
pub incurred_cost: Option<f32>,
pub overage: Option<f32>,
pub plan_code: Option<String>,
pub plan_minimum: Option<f32>,
pub plan_name: Option<String>,
pub requests: Option<f32>,
pub requests_cost: Option<f32>,
pub terms: Option<String>,
}
Expand description
BillingTotal : Complete summary of the billing information.
Fields§
§bandwidth: Option<f32>
The total amount of bandwidth used this month (See bandwidth_units for measurement).
bandwidth_cost: Option<f32>
The cost of the bandwidth used this month in USD.
bandwidth_units: Option<String>
Bandwidth measurement units based on billing plan.
cost: Option<f32>
The final amount to be paid.
cost_before_discount: Option<f32>
Total incurred cost plus extras cost.
discount: Option<f32>
Calculated discount rate.
extras: Option<Vec<BillingTotalExtras>>
A list of any extras for this invoice.
extras_cost: Option<f32>
Total cost of all extras.
incurred_cost: Option<f32>
The total cost of bandwidth and requests used this month.
overage: Option<f32>
How much over the plan minimum has been incurred.
plan_code: Option<String>
The short code the plan this invoice was generated under.
plan_minimum: Option<f32>
The minimum cost of this plan.
plan_name: Option<String>
The name of the plan this invoice was generated under.
requests: Option<f32>
The total number of requests used this month.
requests_cost: Option<f32>
The cost of the requests used this month.
terms: Option<String>
Payment terms. Almost always Net15.
Implementations§
source§impl BillingTotal
impl BillingTotal
sourcepub fn new() -> BillingTotal
pub fn new() -> BillingTotal
Complete summary of the billing information.
Trait Implementations§
source§impl Clone for BillingTotal
impl Clone for BillingTotal
source§fn clone(&self) -> BillingTotal
fn clone(&self) -> BillingTotal
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BillingTotal
impl Debug for BillingTotal
source§impl Default for BillingTotal
impl Default for BillingTotal
source§fn default() -> BillingTotal
fn default() -> BillingTotal
source§impl<'de> Deserialize<'de> for BillingTotal
impl<'de> Deserialize<'de> for BillingTotal
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>,
source§impl PartialEq<BillingTotal> for BillingTotal
impl PartialEq<BillingTotal> for BillingTotal
source§fn eq(&self, other: &BillingTotal) -> bool
fn eq(&self, other: &BillingTotal) -> bool
self
and other
values to be equal, and is used
by ==
.