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

Complete summary of the billing information.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more