Struct google_sheets4::api::BooleanRule [−][src]
pub struct BooleanRule {
pub condition: Option<BooleanCondition>,
pub format: Option<CellFormat>,
}
Expand description
A rule that may or may not match, depending on the condition.
This type is not used in any activity, and only used as part of another schema.
Fields
condition: Option<BooleanCondition>
The condition of the rule. If the condition evaluates to true, the format is applied.
format: Option<CellFormat>
The format to apply. Conditional formatting can only apply a subset of formatting: bold, italic, strikethrough, foreground color & background color.
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 BooleanRule
impl Send for BooleanRule
impl Sync for BooleanRule
impl Unpin for BooleanRule
impl UnwindSafe for BooleanRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more