Struct google_sheets4::api::BaselineValueFormat [−][src]
pub struct BaselineValueFormat {
pub comparison_type: Option<String>,
pub description: Option<String>,
pub negative_color: Option<Color>,
pub negative_color_style: Option<ColorStyle>,
pub position: Option<TextPosition>,
pub positive_color: Option<Color>,
pub positive_color_style: Option<ColorStyle>,
pub text_format: Option<TextFormat>,
}
Expand description
Formatting options for baseline value.
This type is not used in any activity, and only used as part of another schema.
Fields
comparison_type: Option<String>
The comparison type of key value with baseline value.
description: Option<String>
Description which is appended after the baseline value. This field is optional.
negative_color: Option<Color>
Color to be used, in case baseline value represents a negative change for key value. This field is optional.
negative_color_style: Option<ColorStyle>
Color to be used, in case baseline value represents a negative change for key value. This field is optional. If negative_color is also set, this field takes precedence.
position: Option<TextPosition>
Specifies the horizontal text positioning of baseline value. This field is optional. If not specified, default positioning is used.
positive_color: Option<Color>
Color to be used, in case baseline value represents a positive change for key value. This field is optional.
positive_color_style: Option<ColorStyle>
Color to be used, in case baseline value represents a positive change for key value. This field is optional. If positive_color is also set, this field takes precedence.
text_format: Option<TextFormat>
Text formatting options for baseline value.
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 BaselineValueFormat
impl Send for BaselineValueFormat
impl Sync for BaselineValueFormat
impl Unpin for BaselineValueFormat
impl UnwindSafe for BaselineValueFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more