pub struct RelationElement {
pub obj: Operand,
pub oper: RelationOperator,
pub value: Operand,
}
Fields§
§obj: Operand
the column, function or column list on the left side
oper: RelationOperator
the relational operator
value: Operand
the value, func, argument list, tuple list or tuple
Trait Implementations§
Source§impl Clone for RelationElement
impl Clone for RelationElement
Source§fn clone(&self) -> RelationElement
fn clone(&self) -> RelationElement
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 RelationElement
impl Debug for RelationElement
Source§impl Display for RelationElement
impl Display for RelationElement
Source§impl Ord for RelationElement
impl Ord for RelationElement
Source§fn cmp(&self, other: &RelationElement) -> Ordering
fn cmp(&self, other: &RelationElement) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RelationElement
impl PartialEq for RelationElement
Source§impl PartialOrd for RelationElement
impl PartialOrd for RelationElement
impl Eq for RelationElement
impl StructuralPartialEq for RelationElement
Auto Trait Implementations§
impl Freeze for RelationElement
impl RefUnwindSafe for RelationElement
impl Send for RelationElement
impl Sync for RelationElement
impl Unpin for RelationElement
impl UnwindSafe for RelationElement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more