pub struct IfThenExpression {
pub expression: Value,
pub metadata: Map<String, Value>,
}Expand description
IfThenExpression
JSON schema
{
"type": "object",
"required": [
"expression"
],
"properties": {
"expression": {
"const": "IF_THEN"
},
"metadata": {
"description": "Arbitrary data created by the dialect author.",
"type": "object"
}
},
"additionalProperties": false
}Fields§
§expression: Value§metadata: Map<String, Value>Arbitrary data created by the dialect author.
Implementations§
Source§impl IfThenExpression
impl IfThenExpression
pub fn builder() -> IfThenExpression
Trait Implementations§
Source§impl Clone for IfThenExpression
impl Clone for IfThenExpression
Source§fn clone(&self) -> IfThenExpression
fn clone(&self) -> IfThenExpression
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 IfThenExpression
impl Debug for IfThenExpression
Source§impl<'de> Deserialize<'de> for IfThenExpression
impl<'de> Deserialize<'de> for IfThenExpression
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IfThenExpression, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IfThenExpression, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<IfThenExpression> for DialectSupportedExpressionsItem
impl From<IfThenExpression> for DialectSupportedExpressionsItem
Source§fn from(value: IfThenExpression) -> DialectSupportedExpressionsItem
fn from(value: IfThenExpression) -> DialectSupportedExpressionsItem
Converts to this type from the input type.
Source§impl From<IfThenExpression> for IfThenExpression
impl From<IfThenExpression> for IfThenExpression
Source§fn from(value: IfThenExpression) -> IfThenExpression
fn from(value: IfThenExpression) -> IfThenExpression
Converts to this type from the input type.
Source§impl PartialEq for IfThenExpression
impl PartialEq for IfThenExpression
Source§impl Serialize for IfThenExpression
impl Serialize for IfThenExpression
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 IfThenExpression
Source§impl TryFrom<IfThenExpression> for IfThenExpression
impl TryFrom<IfThenExpression> for IfThenExpression
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: IfThenExpression,
) -> Result<IfThenExpression, ConversionError>
fn try_from( value: IfThenExpression, ) -> Result<IfThenExpression, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for IfThenExpression
impl RefUnwindSafe for IfThenExpression
impl Send for IfThenExpression
impl Sync for IfThenExpression
impl Unpin for IfThenExpression
impl UnsafeUnpin for IfThenExpression
impl UnwindSafe for IfThenExpression
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