Struct sheets::types::InterpolationPoint
source · pub struct InterpolationPoint {
pub color: Option<Color>,
pub color_style: Option<ColorStyle>,
pub type_: Option<InterpolationPointType>,
pub value: String,
}
Expand description
A single interpolation point on a gradient conditional format. These pin the gradient color scale according to the color, type and value chosen.
Fields
color: Option<Color>
A single interpolation point on a gradient conditional format. These pin the gradient color scale according to the color, type and value chosen.
color_style: Option<ColorStyle>
A single interpolation point on a gradient conditional format. These pin the gradient color scale according to the color, type and value chosen.
type_: Option<InterpolationPointType>
A single interpolation point on a gradient conditional format. These pin the gradient color scale according to the color, type and value chosen.
value: String
A single interpolation point on a gradient conditional format. These pin the gradient color scale according to the color, type and value chosen.
Trait Implementations
sourceimpl Clone for InterpolationPoint
impl Clone for InterpolationPoint
sourcefn clone(&self) -> InterpolationPoint
fn clone(&self) -> InterpolationPoint
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 moresourceimpl Debug for InterpolationPoint
impl Debug for InterpolationPoint
sourceimpl<'de> Deserialize<'de> for InterpolationPoint
impl<'de> Deserialize<'de> for InterpolationPoint
sourcefn 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
sourceimpl JsonSchema for InterpolationPoint
impl JsonSchema for InterpolationPoint
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<InterpolationPoint> for InterpolationPoint
impl PartialEq<InterpolationPoint> for InterpolationPoint
sourcefn eq(&self, other: &InterpolationPoint) -> bool
fn eq(&self, other: &InterpolationPoint) -> bool
sourceimpl Serialize for InterpolationPoint
impl Serialize for InterpolationPoint
impl StructuralPartialEq for InterpolationPoint
Auto Trait Implementations
impl RefUnwindSafe for InterpolationPoint
impl Send for InterpolationPoint
impl Sync for InterpolationPoint
impl Unpin for InterpolationPoint
impl UnwindSafe for InterpolationPoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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