pub struct LiteralExpression {
pub expression: Value,
}
Expand description
LiteralExpression
JSON schema
{
"type": "object",
"required": [
"expression"
],
"properties": {
"expression": {
"const": "LITERAL"
}
},
"additionalProperties": false
}
Fields§
§expression: Value
Implementations§
Source§impl LiteralExpression
impl LiteralExpression
pub fn builder() -> LiteralExpression
Trait Implementations§
Source§impl Clone for LiteralExpression
impl Clone for LiteralExpression
Source§fn clone(&self) -> LiteralExpression
fn clone(&self) -> LiteralExpression
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 LiteralExpression
impl Debug for LiteralExpression
Source§impl<'de> Deserialize<'de> for LiteralExpression
impl<'de> Deserialize<'de> for LiteralExpression
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<&LiteralExpression> for LiteralExpression
impl From<&LiteralExpression> for LiteralExpression
Source§fn from(value: &LiteralExpression) -> Self
fn from(value: &LiteralExpression) -> Self
Converts to this type from the input type.
Source§impl From<LiteralExpression> for DialectSupportedExpressionsItem
impl From<LiteralExpression> for DialectSupportedExpressionsItem
Source§fn from(value: LiteralExpression) -> Self
fn from(value: LiteralExpression) -> Self
Converts to this type from the input type.
Source§impl From<LiteralExpression> for LiteralExpression
impl From<LiteralExpression> for LiteralExpression
Source§fn from(value: LiteralExpression) -> Self
fn from(value: LiteralExpression) -> Self
Converts to this type from the input type.
Source§impl Serialize for LiteralExpression
impl Serialize for LiteralExpression
Source§impl TryFrom<LiteralExpression> for LiteralExpression
impl TryFrom<LiteralExpression> for LiteralExpression
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LiteralExpression) -> Result<Self, ConversionError>
fn try_from(value: LiteralExpression) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LiteralExpression
impl RefUnwindSafe for LiteralExpression
impl Send for LiteralExpression
impl Sync for LiteralExpression
impl Unpin for LiteralExpression
impl UnwindSafe for LiteralExpression
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