#[non_exhaustive]pub struct InsightConfigurationBuilder { /* private fields */ }Expand description
A builder for InsightConfiguration.
Implementations§
source§impl InsightConfigurationBuilder
impl InsightConfigurationBuilder
sourcepub fn computations(self, input: Computation) -> Self
pub fn computations(self, input: Computation) -> Self
Appends an item to computations.
To override the contents of this collection use set_computations.
The computations configurations of the insight visual
sourcepub fn set_computations(self, input: Option<Vec<Computation>>) -> Self
pub fn set_computations(self, input: Option<Vec<Computation>>) -> Self
The computations configurations of the insight visual
sourcepub fn get_computations(&self) -> &Option<Vec<Computation>>
pub fn get_computations(&self) -> &Option<Vec<Computation>>
The computations configurations of the insight visual
sourcepub fn custom_narrative(self, input: CustomNarrativeOptions) -> Self
pub fn custom_narrative(self, input: CustomNarrativeOptions) -> Self
The custom narrative of the insight visual.
sourcepub fn set_custom_narrative(self, input: Option<CustomNarrativeOptions>) -> Self
pub fn set_custom_narrative(self, input: Option<CustomNarrativeOptions>) -> Self
The custom narrative of the insight visual.
sourcepub fn get_custom_narrative(&self) -> &Option<CustomNarrativeOptions>
pub fn get_custom_narrative(&self) -> &Option<CustomNarrativeOptions>
The custom narrative of the insight visual.
sourcepub fn interactions(self, input: VisualInteractionOptions) -> Self
pub fn interactions(self, input: VisualInteractionOptions) -> Self
The general visual interactions setup for a visual.
sourcepub fn set_interactions(self, input: Option<VisualInteractionOptions>) -> Self
pub fn set_interactions(self, input: Option<VisualInteractionOptions>) -> Self
The general visual interactions setup for a visual.
sourcepub fn get_interactions(&self) -> &Option<VisualInteractionOptions>
pub fn get_interactions(&self) -> &Option<VisualInteractionOptions>
The general visual interactions setup for a visual.
sourcepub fn build(self) -> InsightConfiguration
pub fn build(self) -> InsightConfiguration
Consumes the builder and constructs a InsightConfiguration.
Trait Implementations§
source§impl Clone for InsightConfigurationBuilder
impl Clone for InsightConfigurationBuilder
source§fn clone(&self) -> InsightConfigurationBuilder
fn clone(&self) -> InsightConfigurationBuilder
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 InsightConfigurationBuilder
impl Debug for InsightConfigurationBuilder
source§impl Default for InsightConfigurationBuilder
impl Default for InsightConfigurationBuilder
source§fn default() -> InsightConfigurationBuilder
fn default() -> InsightConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InsightConfigurationBuilder
impl PartialEq for InsightConfigurationBuilder
source§fn eq(&self, other: &InsightConfigurationBuilder) -> bool
fn eq(&self, other: &InsightConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InsightConfigurationBuilder
Auto Trait Implementations§
impl Freeze for InsightConfigurationBuilder
impl RefUnwindSafe for InsightConfigurationBuilder
impl Send for InsightConfigurationBuilder
impl Sync for InsightConfigurationBuilder
impl Unpin for InsightConfigurationBuilder
impl UnwindSafe for InsightConfigurationBuilder
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.