#[non_exhaustive]pub struct KpiConditionalFormattingBuilder { /* private fields */ }
Expand description
A builder for KpiConditionalFormatting
.
Implementations§
source§impl KpiConditionalFormattingBuilder
impl KpiConditionalFormattingBuilder
sourcepub fn conditional_formatting_options(
self,
input: KpiConditionalFormattingOption
) -> Self
pub fn conditional_formatting_options( self, input: KpiConditionalFormattingOption ) -> Self
Appends an item to conditional_formatting_options
.
To override the contents of this collection use set_conditional_formatting_options
.
The conditional formatting options of a KPI visual.
sourcepub fn set_conditional_formatting_options(
self,
input: Option<Vec<KpiConditionalFormattingOption>>
) -> Self
pub fn set_conditional_formatting_options( self, input: Option<Vec<KpiConditionalFormattingOption>> ) -> Self
The conditional formatting options of a KPI visual.
sourcepub fn get_conditional_formatting_options(
&self
) -> &Option<Vec<KpiConditionalFormattingOption>>
pub fn get_conditional_formatting_options( &self ) -> &Option<Vec<KpiConditionalFormattingOption>>
The conditional formatting options of a KPI visual.
sourcepub fn build(self) -> KpiConditionalFormatting
pub fn build(self) -> KpiConditionalFormatting
Consumes the builder and constructs a KpiConditionalFormatting
.
Trait Implementations§
source§impl Clone for KpiConditionalFormattingBuilder
impl Clone for KpiConditionalFormattingBuilder
source§fn clone(&self) -> KpiConditionalFormattingBuilder
fn clone(&self) -> KpiConditionalFormattingBuilder
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 Default for KpiConditionalFormattingBuilder
impl Default for KpiConditionalFormattingBuilder
source§fn default() -> KpiConditionalFormattingBuilder
fn default() -> KpiConditionalFormattingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for KpiConditionalFormattingBuilder
impl PartialEq for KpiConditionalFormattingBuilder
source§fn eq(&self, other: &KpiConditionalFormattingBuilder) -> bool
fn eq(&self, other: &KpiConditionalFormattingBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KpiConditionalFormattingBuilder
Auto Trait Implementations§
impl Freeze for KpiConditionalFormattingBuilder
impl RefUnwindSafe for KpiConditionalFormattingBuilder
impl Send for KpiConditionalFormattingBuilder
impl Sync for KpiConditionalFormattingBuilder
impl Unpin for KpiConditionalFormattingBuilder
impl UnwindSafe for KpiConditionalFormattingBuilder
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> 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.