#[non_exhaustive]pub struct ItemsLimitConfigurationBuilder { /* private fields */ }Expand description
A builder for ItemsLimitConfiguration.
Implementations§
source§impl ItemsLimitConfigurationBuilder
impl ItemsLimitConfigurationBuilder
sourcepub fn items_limit(self, input: i64) -> Self
pub fn items_limit(self, input: i64) -> Self
The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart.
sourcepub fn set_items_limit(self, input: Option<i64>) -> Self
pub fn set_items_limit(self, input: Option<i64>) -> Self
The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart.
sourcepub fn get_items_limit(&self) -> &Option<i64>
pub fn get_items_limit(&self) -> &Option<i64>
The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart.
sourcepub fn other_categories(self, input: OtherCategories) -> Self
pub fn other_categories(self, input: OtherCategories) -> Self
The Show other of an axis in the chart. Choose one of the following options:
-
INCLUDE -
EXCLUDE
sourcepub fn set_other_categories(self, input: Option<OtherCategories>) -> Self
pub fn set_other_categories(self, input: Option<OtherCategories>) -> Self
The Show other of an axis in the chart. Choose one of the following options:
-
INCLUDE -
EXCLUDE
sourcepub fn get_other_categories(&self) -> &Option<OtherCategories>
pub fn get_other_categories(&self) -> &Option<OtherCategories>
The Show other of an axis in the chart. Choose one of the following options:
-
INCLUDE -
EXCLUDE
sourcepub fn build(self) -> ItemsLimitConfiguration
pub fn build(self) -> ItemsLimitConfiguration
Consumes the builder and constructs a ItemsLimitConfiguration.
Trait Implementations§
source§impl Clone for ItemsLimitConfigurationBuilder
impl Clone for ItemsLimitConfigurationBuilder
source§fn clone(&self) -> ItemsLimitConfigurationBuilder
fn clone(&self) -> ItemsLimitConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ItemsLimitConfigurationBuilder
impl Default for ItemsLimitConfigurationBuilder
source§fn default() -> ItemsLimitConfigurationBuilder
fn default() -> ItemsLimitConfigurationBuilder
source§impl PartialEq for ItemsLimitConfigurationBuilder
impl PartialEq for ItemsLimitConfigurationBuilder
source§fn eq(&self, other: &ItemsLimitConfigurationBuilder) -> bool
fn eq(&self, other: &ItemsLimitConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ItemsLimitConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ItemsLimitConfigurationBuilder
impl RefUnwindSafe for ItemsLimitConfigurationBuilder
impl Send for ItemsLimitConfigurationBuilder
impl Sync for ItemsLimitConfigurationBuilder
impl Unpin for ItemsLimitConfigurationBuilder
impl UnwindSafe for ItemsLimitConfigurationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more