Struct google_sheets4::api::BooleanCondition [−][src]
pub struct BooleanCondition {
pub type_: Option<String>,
pub values: Option<Vec<ConditionValue>>,
}
Expand description
A condition that can evaluate to true or false. BooleanConditions are used by conditional formatting, data validation, and the criteria in filters.
This type is not used in any activity, and only used as part of another schema.
Fields
type_: Option<String>
The type of condition.
values: Option<Vec<ConditionValue>>
The values of the condition. The number of supported values depends on the condition type. Some support zero values, others one or two values, and ConditionType.ONE_OF_LIST supports an arbitrary number of values.
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 BooleanCondition
impl Send for BooleanCondition
impl Sync for BooleanCondition
impl Unpin for BooleanCondition
impl UnwindSafe for BooleanCondition
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more