[][src]Struct google_sheets4::UpdateConditionalFormatRuleRequest

pub struct UpdateConditionalFormatRuleRequest {
    pub index: Option<i32>,
    pub new_index: Option<i32>,
    pub rule: Option<ConditionalFormatRule>,
    pub sheet_id: Option<i32>,
}

Updates a conditional format rule at the given index, or moves a conditional format rule to another index.

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

Fields

index: Option<i32>

The zero-based index of the rule that should be replaced or moved.

new_index: Option<i32>

The zero-based new index the rule should end up at.

rule: Option<ConditionalFormatRule>

The rule that should replace the rule at the given index.

sheet_id: Option<i32>

The sheet of the rule to move. Required if new_index is set, unused otherwise.

Trait Implementations

impl Part for UpdateConditionalFormatRuleRequest[src]

impl Default for UpdateConditionalFormatRuleRequest[src]

impl Clone for UpdateConditionalFormatRuleRequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for UpdateConditionalFormatRuleRequest[src]

impl Serialize for UpdateConditionalFormatRuleRequest[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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