[][src]Struct rusoto_budgets::Spend

pub struct Spend {
    pub amount: String,
    pub unit: String,
}

The amount of cost or usage that is measured for a budget.

For example, a Spend for 3 GB of S3 usage would have the following parameters:

  • An Amount of 3

  • A unit of GB

Fields

amount: String

The cost or usage amount that is associated with a budget forecast, actual spend, or budget threshold.

unit: String

The unit of measurement that is used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.

Trait Implementations

impl PartialEq<Spend> for Spend[src]

impl Default for Spend[src]

impl Clone for Spend[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Spend[src]

impl<'de> Deserialize<'de> for Spend[src]

impl Serialize for Spend[src]

Auto Trait Implementations

impl Send for Spend

impl Sync for Spend

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self