Struct aws_sdk_quicksight::types::DataPathColor
source · #[non_exhaustive]pub struct DataPathColor {
pub element: Option<DataPathValue>,
pub color: String,
pub time_granularity: Option<TimeGranularity>,
}
Expand description
The color map that determines the color options for a particular element.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.element: Option<DataPathValue>
The element that the color needs to be applied to.
color: String
The color that needs to be applied to the element.
time_granularity: Option<TimeGranularity>
The time granularity of the field that the color needs to be applied to.
Implementations§
source§impl DataPathColor
impl DataPathColor
sourcepub fn element(&self) -> Option<&DataPathValue>
pub fn element(&self) -> Option<&DataPathValue>
The element that the color needs to be applied to.
sourcepub fn time_granularity(&self) -> Option<&TimeGranularity>
pub fn time_granularity(&self) -> Option<&TimeGranularity>
The time granularity of the field that the color needs to be applied to.
source§impl DataPathColor
impl DataPathColor
sourcepub fn builder() -> DataPathColorBuilder
pub fn builder() -> DataPathColorBuilder
Creates a new builder-style object to manufacture DataPathColor
.
Trait Implementations§
source§impl Clone for DataPathColor
impl Clone for DataPathColor
source§fn clone(&self) -> DataPathColor
fn clone(&self) -> DataPathColor
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 DataPathColor
impl Debug for DataPathColor
source§impl PartialEq for DataPathColor
impl PartialEq for DataPathColor
source§fn eq(&self, other: &DataPathColor) -> bool
fn eq(&self, other: &DataPathColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataPathColor
Auto Trait Implementations§
impl Freeze for DataPathColor
impl RefUnwindSafe for DataPathColor
impl Send for DataPathColor
impl Sync for DataPathColor
impl Unpin for DataPathColor
impl UnwindSafe for DataPathColor
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.