pub struct SpreadsheetProperties {
pub title: String,
pub locale: Option<String>,
pub time_zone: Option<String>,
pub auto_recalc: Option<RecalculationInterval>,
pub iterative_calculation_settings: Option<IterativeCalculationSettings>,
}Expand description
Workbook-level properties.
PartialEq-only, not Eq (issue #1836): IterativeCalculationSettings
carries an f64, which has no meaningful Eq — see Spreadsheet’s own
doc comment for the same reasoning applied to Color.
Fields§
§title: StringThe workbook’s display title.
locale: Option<String>The workbook’s locale, e.g. "en_US" (issue #1836’s
update-workbook-properties --locale).
time_zone: Option<String>The workbook’s IANA time zone, e.g. "America/New_York"
(update-workbook-properties --time-zone).
auto_recalc: Option<RecalculationInterval>How often the workbook recalculates
(update-workbook-properties --auto-recalc).
iterative_calculation_settings: Option<IterativeCalculationSettings>Iterative-calculation settings, present only when iterative
calculation is on (update-workbook-properties --iterative-calculation).
See IterativeCalculationSettings’s doc comment for why presence,
not a boolean field, is what “on” means.
Trait Implementations§
Source§impl Clone for SpreadsheetProperties
impl Clone for SpreadsheetProperties
Source§impl Debug for SpreadsheetProperties
impl Debug for SpreadsheetProperties
Source§impl Default for SpreadsheetProperties
impl Default for 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SpreadsheetProperties
impl PartialEq for SpreadsheetProperties
Source§impl Serialize for SpreadsheetProperties
impl Serialize for SpreadsheetProperties
impl StructuralPartialEq 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 UnsafeUnpin 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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
Converts
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> ⓘ
Converts
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