Struct google_sheets4::api::ExtendedValue [−][src]
pub struct ExtendedValue {
pub bool_value: Option<bool>,
pub error_value: Option<ErrorValue>,
pub formula_value: Option<String>,
pub number_value: Option<f64>,
pub string_value: Option<String>,
}
Expand description
The kinds of value that a cell in a spreadsheet can have.
This type is not used in any activity, and only used as part of another schema.
Fields
bool_value: Option<bool>
Represents a boolean value.
error_value: Option<ErrorValue>
Represents an error. This field is read-only.
formula_value: Option<String>
Represents a formula.
number_value: Option<f64>
Represents a double value. Note: Dates, Times and DateTimes are represented as doubles in “serial number” format.
string_value: Option<String>
Represents a string value. Leading single quotes are not included. For example, if the user typed '123
into the UI, this would be represented as a stringValue
of "123"
.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for ExtendedValue
impl Send for ExtendedValue
impl Sync for ExtendedValue
impl Unpin for ExtendedValue
impl UnwindSafe for ExtendedValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more