Struct aws_sdk_quicksight::model::DataColorPalette
source · [−]#[non_exhaustive]pub struct DataColorPalette {
pub colors: Option<Vec<String>>,
pub min_max_gradient: Option<Vec<String>>,
pub empty_fill_color: Option<String>,
}
Expand description
The theme colors that are used for data colors in charts. The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with #
, for example #37BFF5.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.colors: Option<Vec<String>>
The hexadecimal codes for the colors.
min_max_gradient: Option<Vec<String>>
The minimum and maximum hexadecimal codes that describe a color gradient.
empty_fill_color: Option<String>
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
Implementations
sourceimpl DataColorPalette
impl DataColorPalette
sourcepub fn min_max_gradient(&self) -> Option<&[String]>
pub fn min_max_gradient(&self) -> Option<&[String]>
The minimum and maximum hexadecimal codes that describe a color gradient.
sourcepub fn empty_fill_color(&self) -> Option<&str>
pub fn empty_fill_color(&self) -> Option<&str>
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
sourceimpl DataColorPalette
impl DataColorPalette
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DataColorPalette
Trait Implementations
sourceimpl Clone for DataColorPalette
impl Clone for DataColorPalette
sourcefn clone(&self) -> DataColorPalette
fn clone(&self) -> DataColorPalette
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataColorPalette
impl Debug for DataColorPalette
sourceimpl PartialEq<DataColorPalette> for DataColorPalette
impl PartialEq<DataColorPalette> for DataColorPalette
sourcefn eq(&self, other: &DataColorPalette) -> bool
fn eq(&self, other: &DataColorPalette) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataColorPalette) -> bool
fn ne(&self, other: &DataColorPalette) -> bool
This method tests for !=
.
impl StructuralPartialEq for DataColorPalette
Auto Trait Implementations
impl RefUnwindSafe for DataColorPalette
impl Send for DataColorPalette
impl Sync for DataColorPalette
impl Unpin for DataColorPalette
impl UnwindSafe for DataColorPalette
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more