pub enum RichSingleValue {
ScalarValue(ScalarValue),
CurrencyValue(CurrencyValue),
ImageUrlValue(ImageUrlValue),
PersonValue(PersonValue),
UrlValue(UrlValue),
RowValue(RowValue),
}
Expand description
A value that contains rich structured data. Cell values are composed of these values or arrays of these values.
JSON schema
{
"description": "A value that contains rich structured data. Cell values
are composed of these values or arrays of these values.\n",
"oneOf": [
{
"$ref": "#/components/schemas/ScalarValue"
},
{
"$ref": "#/components/schemas/CurrencyValue"
},
{
"$ref": "#/components/schemas/ImageUrlValue"
},
{
"$ref": "#/components/schemas/PersonValue"
},
{
"$ref": "#/components/schemas/UrlValue"
},
{
"$ref": "#/components/schemas/RowValue"
}
],
"x-schema-name": "RichSingleValue"
}
Variants§
ScalarValue(ScalarValue)
CurrencyValue(CurrencyValue)
ImageUrlValue(ImageUrlValue)
PersonValue(PersonValue)
UrlValue(UrlValue)
RowValue(RowValue)
Trait Implementations§
Source§impl Clone for RichSingleValue
impl Clone for RichSingleValue
Source§fn clone(&self) -> RichSingleValue
fn clone(&self) -> RichSingleValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RichSingleValue
impl Debug for RichSingleValue
Source§impl<'de> Deserialize<'de> for RichSingleValue
impl<'de> Deserialize<'de> for RichSingleValue
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 From<&RichSingleValue> for RichSingleValue
impl From<&RichSingleValue> for RichSingleValue
Source§fn from(value: &RichSingleValue) -> Self
fn from(value: &RichSingleValue) -> Self
Converts to this type from the input type.
Source§impl From<CurrencyValue> for RichSingleValue
impl From<CurrencyValue> for RichSingleValue
Source§fn from(value: CurrencyValue) -> Self
fn from(value: CurrencyValue) -> Self
Converts to this type from the input type.
Source§impl From<ImageUrlValue> for RichSingleValue
impl From<ImageUrlValue> for RichSingleValue
Source§fn from(value: ImageUrlValue) -> Self
fn from(value: ImageUrlValue) -> Self
Converts to this type from the input type.
Source§impl From<PersonValue> for RichSingleValue
impl From<PersonValue> for RichSingleValue
Source§fn from(value: PersonValue) -> Self
fn from(value: PersonValue) -> Self
Converts to this type from the input type.
Source§impl From<RichSingleValue> for RichValue
impl From<RichSingleValue> for RichValue
Source§fn from(value: RichSingleValue) -> Self
fn from(value: RichSingleValue) -> Self
Converts to this type from the input type.
Source§impl From<RichSingleValue> for RichValueVariant1Item
impl From<RichSingleValue> for RichValueVariant1Item
Source§fn from(value: RichSingleValue) -> Self
fn from(value: RichSingleValue) -> Self
Converts to this type from the input type.
Source§impl From<RowValue> for RichSingleValue
impl From<RowValue> for RichSingleValue
Source§impl From<ScalarValue> for RichSingleValue
impl From<ScalarValue> for RichSingleValue
Source§fn from(value: ScalarValue) -> Self
fn from(value: ScalarValue) -> Self
Converts to this type from the input type.
Source§impl From<UrlValue> for RichSingleValue
impl From<UrlValue> for RichSingleValue
Auto Trait Implementations§
impl Freeze for RichSingleValue
impl RefUnwindSafe for RichSingleValue
impl Send for RichSingleValue
impl Sync for RichSingleValue
impl Unpin for RichSingleValue
impl UnwindSafe for RichSingleValue
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