pub enum CellValue {
Value(Value),
RichValue(RichValue),
}Expand description
All values that a row cell can contain.
JSON schema
{
"description": "All values that a row cell can contain.",
"oneOf": [
{
"$ref": "#/components/schemas/Value"
},
{
"$ref": "#/components/schemas/RichValue"
}
],
"x-schema-name": "CellValue"
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CellValue
impl<'de> Deserialize<'de> for CellValue
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 TryFrom<CellValue> for Option<bool>
Coda allows to “unset” the boolean value by hitting Delete while the cell is focused (the checkbox becomes greyed out). For ValueFormat != Rich, such “unset” values are returned as empty strings. During parsing, such values will be converted to None.
impl TryFrom<CellValue> for Option<bool>
Coda allows to “unset” the boolean value by hitting Delete while the cell is focused (the checkbox becomes greyed out). For ValueFormat != Rich, such “unset” values are returned as empty strings. During parsing, such values will be converted to None.
Auto Trait Implementations§
impl Freeze for CellValue
impl RefUnwindSafe for CellValue
impl Send for CellValue
impl Sync for CellValue
impl Unpin for CellValue
impl UnwindSafe for CellValue
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