Struct aws_sdk_quicksight::types::GradientStop
source · #[non_exhaustive]pub struct GradientStop {
pub gradient_offset: f64,
pub data_value: Option<f64>,
pub color: Option<String>,
}Expand description
Determines the gradient stop configuration.
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.gradient_offset: f64Determines gradient offset value.
data_value: Option<f64>Determines the data value.
color: Option<String>Determines the color.
Implementations§
source§impl GradientStop
impl GradientStop
source§impl GradientStop
impl GradientStop
sourcepub fn builder() -> GradientStopBuilder
pub fn builder() -> GradientStopBuilder
Creates a new builder-style object to manufacture GradientStop.
Trait Implementations§
source§impl Clone for GradientStop
impl Clone for GradientStop
source§fn clone(&self) -> GradientStop
fn clone(&self) -> GradientStop
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 GradientStop
impl Debug for GradientStop
source§impl PartialEq for GradientStop
impl PartialEq for GradientStop
source§fn eq(&self, other: &GradientStop) -> bool
fn eq(&self, other: &GradientStop) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GradientStop
Auto Trait Implementations§
impl RefUnwindSafe for GradientStop
impl Send for GradientStop
impl Sync for GradientStop
impl Unpin for GradientStop
impl UnwindSafe for GradientStop
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>
Creates a shared type from an unshared type.