[][src]Struct google_sheets4::SheetProperties

pub struct SheetProperties {
    pub sheet_type: Option<String>,
    pub index: Option<i32>,
    pub title: Option<String>,
    pub grid_properties: Option<GridProperties>,
    pub right_to_left: Option<bool>,
    pub tab_color: Option<Color>,
    pub hidden: Option<bool>,
    pub sheet_id: Option<i32>,
}

Properties of a sheet.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

sheet_type: Option<String>

The type of sheet. Defaults to GRID. This field cannot be changed once set.

index: Option<i32>

The index of the sheet within the spreadsheet. When adding or updating sheet properties, if this field is excluded then the sheet is added or moved to the end of the sheet list. When updating sheet indices or inserting sheets, movement is considered in "before the move" indexes. For example, if there were 3 sheets (S1, S2, S3) in order to move S1 ahead of S2 the index would have to be set to 2. A sheet index update request is ignored if the requested index is identical to the sheets current index or if the requested new index is equal to the current sheet index + 1.

title: Option<String>

The name of the sheet.

grid_properties: Option<GridProperties>

Additional properties of the sheet if this sheet is a grid. (If the sheet is an object sheet, containing a chart or image, then this field will be absent.) When writing it is an error to set any grid properties on non-grid sheets.

right_to_left: Option<bool>

True if the sheet is an RTL sheet instead of an LTR sheet.

tab_color: Option<Color>

The color of the tab in the UI.

hidden: Option<bool>

True if the sheet is hidden in the UI, false if it's visible.

sheet_id: Option<i32>

The ID of the sheet. Must be non-negative. This field cannot be changed once set.

Trait Implementations

impl ResponseResult for SheetProperties[src]

impl Default for SheetProperties[src]

impl Clone for SheetProperties[src]

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

Performs copy-assignment from source. Read more

impl Debug for SheetProperties[src]

impl Serialize for SheetProperties[src]

impl<'de> Deserialize<'de> for SheetProperties[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]