Struct aws_sdk_quicksight::model::UiColorPalette
source · [−]#[non_exhaustive]pub struct UiColorPalette {Show 16 fields
pub primary_foreground: Option<String>,
pub primary_background: Option<String>,
pub secondary_foreground: Option<String>,
pub secondary_background: Option<String>,
pub accent: Option<String>,
pub accent_foreground: Option<String>,
pub danger: Option<String>,
pub danger_foreground: Option<String>,
pub warning: Option<String>,
pub warning_foreground: Option<String>,
pub success: Option<String>,
pub success_foreground: Option<String>,
pub dimension: Option<String>,
pub dimension_foreground: Option<String>,
pub measure: Option<String>,
pub measure_foreground: Option<String>,
}
Expand description
The theme colors that apply to UI and to charts, excluding data colors. The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with #
, for example #37BFF5. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.
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.primary_foreground: Option<String>
The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.
primary_background: Option<String>
The background color that applies to visuals and other high emphasis UI.
secondary_foreground: Option<String>
The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.
secondary_background: Option<String>
The background color that applies to the sheet background and sheet controls.
accent: Option<String>
This color is that applies to selected states and buttons.
accent_foreground: Option<String>
The foreground color that applies to any text or other elements that appear over the accent color.
danger: Option<String>
The color that applies to error messages.
danger_foreground: Option<String>
The foreground color that applies to any text or other elements that appear over the error color.
warning: Option<String>
This color that applies to warning and informational messages.
warning_foreground: Option<String>
The foreground color that applies to any text or other elements that appear over the warning color.
success: Option<String>
The color that applies to success messages, for example the check mark for a successful download.
success_foreground: Option<String>
The foreground color that applies to any text or other elements that appear over the success color.
dimension: Option<String>
The color that applies to the names of fields that are identified as dimensions.
dimension_foreground: Option<String>
The foreground color that applies to any text or other elements that appear over the dimension color.
measure: Option<String>
The color that applies to the names of fields that are identified as measures.
measure_foreground: Option<String>
The foreground color that applies to any text or other elements that appear over the measure color.
Implementations
sourceimpl UiColorPalette
impl UiColorPalette
sourcepub fn primary_foreground(&self) -> Option<&str>
pub fn primary_foreground(&self) -> Option<&str>
The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.
sourcepub fn primary_background(&self) -> Option<&str>
pub fn primary_background(&self) -> Option<&str>
The background color that applies to visuals and other high emphasis UI.
sourcepub fn secondary_foreground(&self) -> Option<&str>
pub fn secondary_foreground(&self) -> Option<&str>
The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.
sourcepub fn secondary_background(&self) -> Option<&str>
pub fn secondary_background(&self) -> Option<&str>
The background color that applies to the sheet background and sheet controls.
sourcepub fn accent(&self) -> Option<&str>
pub fn accent(&self) -> Option<&str>
This color is that applies to selected states and buttons.
sourcepub fn accent_foreground(&self) -> Option<&str>
pub fn accent_foreground(&self) -> Option<&str>
The foreground color that applies to any text or other elements that appear over the accent color.
sourcepub fn danger_foreground(&self) -> Option<&str>
pub fn danger_foreground(&self) -> Option<&str>
The foreground color that applies to any text or other elements that appear over the error color.
sourcepub fn warning(&self) -> Option<&str>
pub fn warning(&self) -> Option<&str>
This color that applies to warning and informational messages.
sourcepub fn warning_foreground(&self) -> Option<&str>
pub fn warning_foreground(&self) -> Option<&str>
The foreground color that applies to any text or other elements that appear over the warning color.
sourcepub fn success(&self) -> Option<&str>
pub fn success(&self) -> Option<&str>
The color that applies to success messages, for example the check mark for a successful download.
sourcepub fn success_foreground(&self) -> Option<&str>
pub fn success_foreground(&self) -> Option<&str>
The foreground color that applies to any text or other elements that appear over the success color.
sourcepub fn dimension(&self) -> Option<&str>
pub fn dimension(&self) -> Option<&str>
The color that applies to the names of fields that are identified as dimensions.
sourcepub fn dimension_foreground(&self) -> Option<&str>
pub fn dimension_foreground(&self) -> Option<&str>
The foreground color that applies to any text or other elements that appear over the dimension color.
sourcepub fn measure(&self) -> Option<&str>
pub fn measure(&self) -> Option<&str>
The color that applies to the names of fields that are identified as measures.
sourcepub fn measure_foreground(&self) -> Option<&str>
pub fn measure_foreground(&self) -> Option<&str>
The foreground color that applies to any text or other elements that appear over the measure color.
sourceimpl UiColorPalette
impl UiColorPalette
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UiColorPalette
Trait Implementations
sourceimpl Clone for UiColorPalette
impl Clone for UiColorPalette
sourcefn clone(&self) -> UiColorPalette
fn clone(&self) -> UiColorPalette
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 UiColorPalette
impl Debug for UiColorPalette
sourceimpl PartialEq<UiColorPalette> for UiColorPalette
impl PartialEq<UiColorPalette> for UiColorPalette
sourcefn eq(&self, other: &UiColorPalette) -> bool
fn eq(&self, other: &UiColorPalette) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UiColorPalette) -> bool
fn ne(&self, other: &UiColorPalette) -> bool
This method tests for !=
.
impl StructuralPartialEq for UiColorPalette
Auto Trait Implementations
impl RefUnwindSafe for UiColorPalette
impl Send for UiColorPalette
impl Sync for UiColorPalette
impl Unpin for UiColorPalette
impl UnwindSafe for UiColorPalette
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