[][src]Struct google_sheets4::ConditionValue

pub struct ConditionValue {
    pub relative_date: Option<String>,
    pub user_entered_value: Option<String>,
}

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

impl Clone for ConditionValue[src]

impl Debug for ConditionValue[src]

impl Default for ConditionValue[src]

impl<'de> Deserialize<'de> for ConditionValue[src]

impl Part for ConditionValue[src]

impl Serialize for ConditionValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any