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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.