Struct google_sheets4::api::ConditionValue [−][src]
pub struct ConditionValue {
pub relative_date: Option<String>,
pub user_entered_value: Option<String>,
}
Expand description
The value of the condition.
This type is not used in any activity, and only used as part of another schema.
Fields
relative_date: Option<String>
A relative date (based on the current date). Valid only if the type is DATE_BEFORE, DATE_AFTER, DATE_ON_OR_BEFORE or DATE_ON_OR_AFTER. Relative dates are not supported in data validation. They are supported only in conditional formatting and conditional filters.
user_entered_value: Option<String>
A value the condition is based on. The value is parsed as if the user typed into a cell. Formulas are supported (and must begin with an =
or a ‘+’).
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 ConditionValue
impl Send for ConditionValue
impl Sync for ConditionValue
impl Unpin for ConditionValue
impl UnwindSafe for ConditionValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more