pub struct NestedExpression {
pub expression: Value,
pub metadata: Map<String, Value>,
pub nested_types: Vec<NestedExpressionNestedTypesItem>,
}Expand description
NestedExpression
JSON schema
{
"type": "object",
"required": [
"expression"
],
"properties": {
"expression": {
"const": "NESTED"
},
"metadata": {
"description": "Arbitrary data created by the dialect author.",
"type": "object"
},
"nested_types": {
"description": "The valid nested types.",
"type": "array",
"items": {
"enum": [
"STRUCT",
"LIST",
"MAP"
]
}
}
},
"additionalProperties": false
}Fields§
§expression: Value§metadata: Map<String, Value>Arbitrary data created by the dialect author.
nested_types: Vec<NestedExpressionNestedTypesItem>The valid nested types.
Implementations§
Source§impl NestedExpression
impl NestedExpression
pub fn builder() -> NestedExpression
Trait Implementations§
Source§impl Clone for NestedExpression
impl Clone for NestedExpression
Source§fn clone(&self) -> NestedExpression
fn clone(&self) -> NestedExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NestedExpression
impl Debug for NestedExpression
Source§impl<'de> Deserialize<'de> for NestedExpression
impl<'de> Deserialize<'de> for NestedExpression
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NestedExpression, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NestedExpression, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<NestedExpression> for DialectSupportedExpressionsItem
impl From<NestedExpression> for DialectSupportedExpressionsItem
Source§fn from(value: NestedExpression) -> DialectSupportedExpressionsItem
fn from(value: NestedExpression) -> DialectSupportedExpressionsItem
Converts to this type from the input type.
Source§impl From<NestedExpression> for NestedExpression
impl From<NestedExpression> for NestedExpression
Source§fn from(value: NestedExpression) -> NestedExpression
fn from(value: NestedExpression) -> NestedExpression
Converts to this type from the input type.
Source§impl PartialEq for NestedExpression
impl PartialEq for NestedExpression
Source§impl Serialize for NestedExpression
impl Serialize for NestedExpression
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NestedExpression
Source§impl TryFrom<NestedExpression> for NestedExpression
impl TryFrom<NestedExpression> for NestedExpression
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: NestedExpression,
) -> Result<NestedExpression, ConversionError>
fn try_from( value: NestedExpression, ) -> Result<NestedExpression, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for NestedExpression
impl RefUnwindSafe for NestedExpression
impl Send for NestedExpression
impl Sync for NestedExpression
impl Unpin for NestedExpression
impl UnsafeUnpin for NestedExpression
impl UnwindSafe for NestedExpression
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