pub struct SpreadsheetProperties {
pub auto_recalc: Option<String>,
pub default_format: Option<CellFormat>,
pub import_functions_external_url_access_allowed: Option<bool>,
pub iterative_calculation_settings: Option<IterativeCalculationSettings>,
pub locale: Option<String>,
pub spreadsheet_theme: Option<SpreadsheetTheme>,
pub time_zone: Option<String>,
pub title: Option<String>,
}
Expand description
Properties of a spreadsheet.
This type is not used in any activity, and only used as part of another schema.
Fields§
§auto_recalc: Option<String>
The amount of time to wait before volatile functions are recalculated.
default_format: Option<CellFormat>
The default format of all cells in the spreadsheet. CellData.effectiveFormat will not be set if the cell’s format is equal to this default format. This field is read-only.
import_functions_external_url_access_allowed: Option<bool>
Whether to allow external URL access for image and import functions. Read only when true. When false, you can set to true.
iterative_calculation_settings: Option<IterativeCalculationSettings>
Determines whether and how circular references are resolved with iterative calculation. Absence of this field means that circular references result in calculation errors.
locale: Option<String>
The locale of the spreadsheet in one of the following formats: * an ISO 639-1 language code such as en
* an ISO 639-2 language code such as fil
, if no 639-1 code exists * a combination of the ISO language code and country code, such as en_US
Note: when updating this field, not all locales/languages are supported.
spreadsheet_theme: Option<SpreadsheetTheme>
Theme applied to the spreadsheet.
time_zone: Option<String>
The time zone of the spreadsheet, in CLDR format such as America/New_York
. If the time zone isn’t recognized, this may be a custom time zone such as GMT-07:00
.
title: Option<String>
The title of the spreadsheet.
Trait Implementations§
Source§impl Clone for SpreadsheetProperties
impl Clone for SpreadsheetProperties
Source§fn clone(&self) -> SpreadsheetProperties
fn clone(&self) -> SpreadsheetProperties
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SpreadsheetProperties
impl Debug for SpreadsheetProperties
Source§impl Default for SpreadsheetProperties
impl Default for SpreadsheetProperties
Source§fn default() -> SpreadsheetProperties
fn default() -> SpreadsheetProperties
Source§impl<'de> Deserialize<'de> for SpreadsheetProperties
impl<'de> Deserialize<'de> for SpreadsheetProperties
Source§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>,
Source§impl Serialize for SpreadsheetProperties
impl Serialize for SpreadsheetProperties
impl Part for SpreadsheetProperties
Auto Trait Implementations§
impl Freeze for SpreadsheetProperties
impl RefUnwindSafe for SpreadsheetProperties
impl Send for SpreadsheetProperties
impl Sync for SpreadsheetProperties
impl Unpin for SpreadsheetProperties
impl UnwindSafe for SpreadsheetProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more