#[non_exhaustive]pub struct ColumnTooltipItemBuilder { /* private fields */ }Expand description
A builder for ColumnTooltipItem.
Implementations§
source§impl ColumnTooltipItemBuilder
impl ColumnTooltipItemBuilder
sourcepub fn column(self, input: ColumnIdentifier) -> Self
pub fn column(self, input: ColumnIdentifier) -> Self
The target column of the tooltip item.
This field is required.sourcepub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
The target column of the tooltip item.
sourcepub fn get_column(&self) -> &Option<ColumnIdentifier>
pub fn get_column(&self) -> &Option<ColumnIdentifier>
The target column of the tooltip item.
sourcepub fn visibility(self, input: Visibility) -> Self
pub fn visibility(self, input: Visibility) -> Self
The visibility of the tooltip item.
sourcepub fn set_visibility(self, input: Option<Visibility>) -> Self
pub fn set_visibility(self, input: Option<Visibility>) -> Self
The visibility of the tooltip item.
sourcepub fn get_visibility(&self) -> &Option<Visibility>
pub fn get_visibility(&self) -> &Option<Visibility>
The visibility of the tooltip item.
sourcepub fn aggregation(self, input: AggregationFunction) -> Self
pub fn aggregation(self, input: AggregationFunction) -> Self
The aggregation function of the column tooltip item.
sourcepub fn set_aggregation(self, input: Option<AggregationFunction>) -> Self
pub fn set_aggregation(self, input: Option<AggregationFunction>) -> Self
The aggregation function of the column tooltip item.
sourcepub fn get_aggregation(&self) -> &Option<AggregationFunction>
pub fn get_aggregation(&self) -> &Option<AggregationFunction>
The aggregation function of the column tooltip item.
sourcepub fn tooltip_target(self, input: TooltipTarget) -> Self
pub fn tooltip_target(self, input: TooltipTarget) -> Self
Determines the target of the column tooltip item in a combo chart visual.
sourcepub fn set_tooltip_target(self, input: Option<TooltipTarget>) -> Self
pub fn set_tooltip_target(self, input: Option<TooltipTarget>) -> Self
Determines the target of the column tooltip item in a combo chart visual.
sourcepub fn get_tooltip_target(&self) -> &Option<TooltipTarget>
pub fn get_tooltip_target(&self) -> &Option<TooltipTarget>
Determines the target of the column tooltip item in a combo chart visual.
sourcepub fn build(self) -> ColumnTooltipItem
pub fn build(self) -> ColumnTooltipItem
Consumes the builder and constructs a ColumnTooltipItem.
Trait Implementations§
source§impl Clone for ColumnTooltipItemBuilder
impl Clone for ColumnTooltipItemBuilder
source§fn clone(&self) -> ColumnTooltipItemBuilder
fn clone(&self) -> ColumnTooltipItemBuilder
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 ColumnTooltipItemBuilder
impl Debug for ColumnTooltipItemBuilder
source§impl Default for ColumnTooltipItemBuilder
impl Default for ColumnTooltipItemBuilder
source§fn default() -> ColumnTooltipItemBuilder
fn default() -> ColumnTooltipItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ColumnTooltipItemBuilder
impl PartialEq for ColumnTooltipItemBuilder
source§fn eq(&self, other: &ColumnTooltipItemBuilder) -> bool
fn eq(&self, other: &ColumnTooltipItemBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ColumnTooltipItemBuilder
Auto Trait Implementations§
impl Freeze for ColumnTooltipItemBuilder
impl RefUnwindSafe for ColumnTooltipItemBuilder
impl Send for ColumnTooltipItemBuilder
impl Sync for ColumnTooltipItemBuilder
impl Unpin for ColumnTooltipItemBuilder
impl UnwindSafe for ColumnTooltipItemBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.