Struct google_sheets4::api::GradientRule [−][src]
pub struct GradientRule {
pub maxpoint: Option<InterpolationPoint>,
pub midpoint: Option<InterpolationPoint>,
pub minpoint: Option<InterpolationPoint>,
}
Expand description
A rule that applies a gradient color scale format, based on the interpolation points listed. The format of a cell will vary based on its contents as compared to the values of the interpolation points.
This type is not used in any activity, and only used as part of another schema.
Fields
maxpoint: Option<InterpolationPoint>
The final interpolation point.
midpoint: Option<InterpolationPoint>
An optional midway interpolation point.
minpoint: Option<InterpolationPoint>
The starting interpolation point.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GradientRule
impl Send for GradientRule
impl Sync for GradientRule
impl Unpin for GradientRule
impl UnwindSafe for GradientRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more