#[non_exhaustive]pub struct AnalyticsBinBySpecification {
pub name: AnalyticsBinByName,
pub interval: AnalyticsInterval,
pub order: Option<AnalyticsSortOrder>,
}
Expand description
Contains the time metric, interval, and method by which to bin the analytics data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: AnalyticsBinByName
Specifies the time metric by which to bin the analytics data.
interval: AnalyticsInterval
Specifies the interval of time by which to bin the analytics data.
order: Option<AnalyticsSortOrder>
Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.
Implementations§
source§impl AnalyticsBinBySpecification
impl AnalyticsBinBySpecification
sourcepub fn name(&self) -> &AnalyticsBinByName
pub fn name(&self) -> &AnalyticsBinByName
Specifies the time metric by which to bin the analytics data.
sourcepub fn interval(&self) -> &AnalyticsInterval
pub fn interval(&self) -> &AnalyticsInterval
Specifies the interval of time by which to bin the analytics data.
sourcepub fn order(&self) -> Option<&AnalyticsSortOrder>
pub fn order(&self) -> Option<&AnalyticsSortOrder>
Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.
source§impl AnalyticsBinBySpecification
impl AnalyticsBinBySpecification
sourcepub fn builder() -> AnalyticsBinBySpecificationBuilder
pub fn builder() -> AnalyticsBinBySpecificationBuilder
Creates a new builder-style object to manufacture AnalyticsBinBySpecification
.
Trait Implementations§
source§impl Clone for AnalyticsBinBySpecification
impl Clone for AnalyticsBinBySpecification
source§fn clone(&self) -> AnalyticsBinBySpecification
fn clone(&self) -> AnalyticsBinBySpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalyticsBinBySpecification
impl Debug for AnalyticsBinBySpecification
source§impl PartialEq for AnalyticsBinBySpecification
impl PartialEq for AnalyticsBinBySpecification
source§fn eq(&self, other: &AnalyticsBinBySpecification) -> bool
fn eq(&self, other: &AnalyticsBinBySpecification) -> bool
self
and other
values to be equal, and is used
by ==
.