[][src]Struct google_sheets4::DataValidationRule

pub struct DataValidationRule {
    pub show_custom_ui: Option<bool>,
    pub strict: Option<bool>,
    pub input_message: Option<String>,
    pub condition: Option<BooleanCondition>,
}

A data validation rule.

This type is not used in any activity, and only used as part of another schema.

Fields

show_custom_ui: Option<bool>

True if the UI should be customized based on the kind of condition. If true, "List" conditions will show a dropdown.

strict: Option<bool>

True if invalid data should be rejected.

input_message: Option<String>

A message to show the user when adding data to the cell.

condition: Option<BooleanCondition>

The condition that data in the cell must match.

Trait Implementations

impl Clone for DataValidationRule[src]

impl Debug for DataValidationRule[src]

impl Default for DataValidationRule[src]

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

impl Part for DataValidationRule[src]

impl Serialize for DataValidationRule[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