[][src]Struct gcp_client::google::cloud::billing::v1::AggregationInfo

pub struct AggregationInfo {
    pub aggregation_level: i32,
    pub aggregation_interval: i32,
    pub aggregation_count: i32,
}

Represents the aggregation level and interval for pricing of a single SKU.

Fields

aggregation_level: i32aggregation_interval: i32aggregation_count: i32

The number of intervals to aggregate over. Example: If aggregation_level is "DAILY" and aggregation_count is 14, aggregation will be over 14 days.

Implementations

impl AggregationInfo[src]

pub fn aggregation_level(&self) -> AggregationLevel[src]

Returns the enum value of aggregation_level, or the default if the field is set to an invalid enum value.

pub fn set_aggregation_level(&mut self, value: AggregationLevel)[src]

Sets aggregation_level to the provided enum value.

pub fn aggregation_interval(&self) -> AggregationInterval[src]

Returns the enum value of aggregation_interval, or the default if the field is set to an invalid enum value.

pub fn set_aggregation_interval(&mut self, value: AggregationInterval)[src]

Sets aggregation_interval to the provided enum value.

Trait Implementations

impl Clone for AggregationInfo[src]

impl Debug for AggregationInfo[src]

impl Default for AggregationInfo[src]

impl Message for AggregationInfo[src]

impl PartialEq<AggregationInfo> for AggregationInfo[src]

impl StructuralPartialEq for AggregationInfo[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]