Struct gapi_grpc::google::cloud::billing::v1::AggregationInfo [−][src]
Represents the aggregation level and interval for pricing of a single SKU.
Fields
aggregation_level: i32
aggregation_interval: i32
aggregation_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
impl RefUnwindSafe for AggregationInfo
impl Send for AggregationInfo
impl Sync for AggregationInfo
impl Unpin for AggregationInfo
impl UnwindSafe for AggregationInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,