Struct fastly_api::models::billing_total_extras::BillingTotalExtras
source · pub struct BillingTotalExtras {
pub name: Option<String>,
pub recurring: Option<f32>,
pub setup: Option<f32>,
}
Fields§
§name: Option<String>
The name of this extra cost.
recurring: Option<f32>
Recurring monthly cost in USD. Not present if $0.0.
setup: Option<f32>
Initial set up cost in USD. Not present if $0.0 or this is not the month the extra was added.
Implementations§
source§impl BillingTotalExtras
impl BillingTotalExtras
pub fn new() -> BillingTotalExtras
Trait Implementations§
source§impl Clone for BillingTotalExtras
impl Clone for BillingTotalExtras
source§fn clone(&self) -> BillingTotalExtras
fn clone(&self) -> BillingTotalExtras
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 BillingTotalExtras
impl Debug for BillingTotalExtras
source§impl Default for BillingTotalExtras
impl Default for BillingTotalExtras
source§fn default() -> BillingTotalExtras
fn default() -> BillingTotalExtras
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BillingTotalExtras
impl<'de> Deserialize<'de> for BillingTotalExtras
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<BillingTotalExtras> for BillingTotalExtras
impl PartialEq<BillingTotalExtras> for BillingTotalExtras
source§fn eq(&self, other: &BillingTotalExtras) -> bool
fn eq(&self, other: &BillingTotalExtras) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BillingTotalExtras
impl Serialize for BillingTotalExtras
impl StructuralPartialEq for BillingTotalExtras
Auto Trait Implementations§
impl RefUnwindSafe for BillingTotalExtras
impl Send for BillingTotalExtras
impl Sync for BillingTotalExtras
impl Unpin for BillingTotalExtras
impl UnwindSafe for BillingTotalExtras
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