#[non_exhaustive]pub struct FieldBasedTooltipBuilder { /* private fields */ }Expand description
A builder for FieldBasedTooltip.
Implementations§
source§impl FieldBasedTooltipBuilder
impl FieldBasedTooltipBuilder
sourcepub fn aggregation_visibility(self, input: Visibility) -> Self
pub fn aggregation_visibility(self, input: Visibility) -> Self
The visibility of Show aggregations.
sourcepub fn set_aggregation_visibility(self, input: Option<Visibility>) -> Self
pub fn set_aggregation_visibility(self, input: Option<Visibility>) -> Self
The visibility of Show aggregations.
sourcepub fn get_aggregation_visibility(&self) -> &Option<Visibility>
pub fn get_aggregation_visibility(&self) -> &Option<Visibility>
The visibility of Show aggregations.
sourcepub fn tooltip_title_type(self, input: TooltipTitleType) -> Self
pub fn tooltip_title_type(self, input: TooltipTitleType) -> Self
The type for the >tooltip title. Choose one of the following options:
-
NONE: Doesn't use the primary value as the title. -
PRIMARY_VALUE: Uses primary value as the title.
sourcepub fn set_tooltip_title_type(self, input: Option<TooltipTitleType>) -> Self
pub fn set_tooltip_title_type(self, input: Option<TooltipTitleType>) -> Self
The type for the >tooltip title. Choose one of the following options:
-
NONE: Doesn't use the primary value as the title. -
PRIMARY_VALUE: Uses primary value as the title.
sourcepub fn get_tooltip_title_type(&self) -> &Option<TooltipTitleType>
pub fn get_tooltip_title_type(&self) -> &Option<TooltipTitleType>
The type for the >tooltip title. Choose one of the following options:
-
NONE: Doesn't use the primary value as the title. -
PRIMARY_VALUE: Uses primary value as the title.
sourcepub fn tooltip_fields(self, input: TooltipItem) -> Self
pub fn tooltip_fields(self, input: TooltipItem) -> Self
Appends an item to tooltip_fields.
To override the contents of this collection use set_tooltip_fields.
The fields configuration in the tooltip.
sourcepub fn set_tooltip_fields(self, input: Option<Vec<TooltipItem>>) -> Self
pub fn set_tooltip_fields(self, input: Option<Vec<TooltipItem>>) -> Self
The fields configuration in the tooltip.
sourcepub fn get_tooltip_fields(&self) -> &Option<Vec<TooltipItem>>
pub fn get_tooltip_fields(&self) -> &Option<Vec<TooltipItem>>
The fields configuration in the tooltip.
sourcepub fn build(self) -> FieldBasedTooltip
pub fn build(self) -> FieldBasedTooltip
Consumes the builder and constructs a FieldBasedTooltip.
Trait Implementations§
source§impl Clone for FieldBasedTooltipBuilder
impl Clone for FieldBasedTooltipBuilder
source§fn clone(&self) -> FieldBasedTooltipBuilder
fn clone(&self) -> FieldBasedTooltipBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FieldBasedTooltipBuilder
impl Debug for FieldBasedTooltipBuilder
source§impl Default for FieldBasedTooltipBuilder
impl Default for FieldBasedTooltipBuilder
source§fn default() -> FieldBasedTooltipBuilder
fn default() -> FieldBasedTooltipBuilder
source§impl PartialEq for FieldBasedTooltipBuilder
impl PartialEq for FieldBasedTooltipBuilder
source§fn eq(&self, other: &FieldBasedTooltipBuilder) -> bool
fn eq(&self, other: &FieldBasedTooltipBuilder) -> bool
self and other values to be equal, and is used
by ==.