pub enum ComparisonOperationExpression {
Equal {
left: Box<Expression>,
double_equals: Span,
right: Box<Expression>,
},
Identical {
left: Box<Expression>,
triple_equals: Span,
right: Box<Expression>,
},
NotEqual {
left: Box<Expression>,
bang_equals: Span,
right: Box<Expression>,
},
AngledNotEqual {
left: Box<Expression>,
angled_left_right: Span,
right: Box<Expression>,
},
NotIdentical {
left: Box<Expression>,
bang_double_equals: Span,
right: Box<Expression>,
},
LessThan {
left: Box<Expression>,
less_than: Span,
right: Box<Expression>,
},
GreaterThan {
left: Box<Expression>,
greater_than: Span,
right: Box<Expression>,
},
LessThanOrEqual {
left: Box<Expression>,
less_than_equals: Span,
right: Box<Expression>,
},
GreaterThanOrEqual {
left: Box<Expression>,
greater_than_equals: Span,
right: Box<Expression>,
},
Spaceship {
left: Box<Expression>,
spaceship: Span,
right: Box<Expression>,
},
}
Variants§
Equal
Identical
NotEqual
AngledNotEqual
NotIdentical
LessThan
GreaterThan
LessThanOrEqual
GreaterThanOrEqual
Spaceship
Trait Implementations§
Source§impl Clone for ComparisonOperationExpression
impl Clone for ComparisonOperationExpression
Source§fn clone(&self) -> ComparisonOperationExpression
fn clone(&self) -> ComparisonOperationExpression
Returns a copy 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<'de> Deserialize<'de> for ComparisonOperationExpression
impl<'de> Deserialize<'de> for ComparisonOperationExpression
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 JsonSchema for ComparisonOperationExpression
impl JsonSchema for ComparisonOperationExpression
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl Node for ComparisonOperationExpression
impl Node for ComparisonOperationExpression
Source§impl PartialEq for ComparisonOperationExpression
impl PartialEq for ComparisonOperationExpression
Source§fn eq(&self, other: &ComparisonOperationExpression) -> bool
fn eq(&self, other: &ComparisonOperationExpression) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ComparisonOperationExpression
impl StructuralPartialEq for ComparisonOperationExpression
Auto Trait Implementations§
impl Freeze for ComparisonOperationExpression
impl RefUnwindSafe for ComparisonOperationExpression
impl Send for ComparisonOperationExpression
impl Sync for ComparisonOperationExpression
impl Unpin for ComparisonOperationExpression
impl UnwindSafe for ComparisonOperationExpression
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