Struct gluesql::core::ast_builder::CmpExprNode
source · pub struct CmpExprNode<'a> {
pub index_name: String,
pub operator: IndexOperator,
pub expr: ExprNode<'a>,
}
Fields§
§index_name: String
§operator: IndexOperator
§expr: ExprNode<'a>
Implementations§
source§impl<'a> CmpExprNode<'a>
impl<'a> CmpExprNode<'a>
pub fn new<T>( index_name: String, operator: IndexOperator, expr: T ) -> CmpExprNode<'a>where T: Into<ExprNode<'a>>,
pub fn asc(self) -> IndexItemNode<'a>
pub fn desc(self) -> IndexItemNode<'a>
Trait Implementations§
source§impl<'a> Clone for CmpExprNode<'a>
impl<'a> Clone for CmpExprNode<'a>
source§fn clone(&self) -> CmpExprNode<'a>
fn clone(&self) -> CmpExprNode<'a>
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<'a> Debug for CmpExprNode<'a>
impl<'a> Debug for CmpExprNode<'a>
source§impl<'a> From<CmpExprNode<'a>> for IndexItemNode<'a>
impl<'a> From<CmpExprNode<'a>> for IndexItemNode<'a>
source§fn from(cmp_expr: CmpExprNode<'a>) -> IndexItemNode<'a>
fn from(cmp_expr: CmpExprNode<'a>) -> IndexItemNode<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CmpExprNode<'a>
impl<'a> Send for CmpExprNode<'a>
impl<'a> Sync for CmpExprNode<'a>
impl<'a> Unpin for CmpExprNode<'a>
impl<'a> UnwindSafe for CmpExprNode<'a>
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