#[non_exhaustive]pub struct ExcludePeriodConfiguration { /* private fields */ }Expand description
The exclude period of TimeRangeFilter or RelativeDatesFilter.
Implementations§
source§impl ExcludePeriodConfiguration
impl ExcludePeriodConfiguration
sourcepub fn granularity(&self) -> Option<&TimeGranularity>
pub fn granularity(&self) -> Option<&TimeGranularity>
The granularity or unit (day, month, year) of the exclude period.
sourcepub fn status(&self) -> Option<&WidgetStatus>
pub fn status(&self) -> Option<&WidgetStatus>
The status of the exclude period. Choose from the following options:
-
ENABLED -
DISABLED
source§impl ExcludePeriodConfiguration
impl ExcludePeriodConfiguration
sourcepub fn builder() -> ExcludePeriodConfigurationBuilder
pub fn builder() -> ExcludePeriodConfigurationBuilder
Creates a new builder-style object to manufacture ExcludePeriodConfiguration.
Trait Implementations§
source§impl Clone for ExcludePeriodConfiguration
impl Clone for ExcludePeriodConfiguration
source§fn clone(&self) -> ExcludePeriodConfiguration
fn clone(&self) -> ExcludePeriodConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ExcludePeriodConfiguration
impl Debug for ExcludePeriodConfiguration
source§impl PartialEq<ExcludePeriodConfiguration> for ExcludePeriodConfiguration
impl PartialEq<ExcludePeriodConfiguration> for ExcludePeriodConfiguration
source§fn eq(&self, other: &ExcludePeriodConfiguration) -> bool
fn eq(&self, other: &ExcludePeriodConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExcludePeriodConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ExcludePeriodConfiguration
impl Send for ExcludePeriodConfiguration
impl Sync for ExcludePeriodConfiguration
impl Unpin for ExcludePeriodConfiguration
impl UnwindSafe for ExcludePeriodConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more