#[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
impl StructuralPartialEq for FieldBasedTooltipBuilder
Auto Trait Implementations§
impl Freeze for FieldBasedTooltipBuilder
impl RefUnwindSafe for FieldBasedTooltipBuilder
impl Send for FieldBasedTooltipBuilder
impl Sync for FieldBasedTooltipBuilder
impl Unpin for FieldBasedTooltipBuilder
impl UnwindSafe for FieldBasedTooltipBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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