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
sourceimpl BillingTotalExtras
impl BillingTotalExtras
pub fn new() -> BillingTotalExtras
Trait Implementations
sourceimpl Clone for BillingTotalExtras
impl Clone for BillingTotalExtras
sourcefn clone(&self) -> BillingTotalExtras
fn clone(&self) -> BillingTotalExtras
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BillingTotalExtras
impl Debug for BillingTotalExtras
sourceimpl Default for BillingTotalExtras
impl Default for BillingTotalExtras
sourcefn default() -> BillingTotalExtras
fn default() -> BillingTotalExtras
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BillingTotalExtras
impl<'de> Deserialize<'de> for BillingTotalExtras
sourcefn 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
sourceimpl PartialEq<BillingTotalExtras> for BillingTotalExtras
impl PartialEq<BillingTotalExtras> for BillingTotalExtras
sourcefn 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 ==. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more