pub struct LikeExpression {
pub token: Token,
pub left: Box<Expression>,
pub pattern: Box<Expression>,
pub operator: SmartString,
pub escape: Option<Box<Expression>>,
}Expand description
LIKE expression with optional ESCAPE clause
Fields§
§token: Token§left: Box<Expression>§pattern: Box<Expression>§operator: SmartStringThe operator: LIKE, ILIKE, NOT LIKE, NOT ILIKE, GLOB, NOT GLOB, REGEXP, RLIKE, NOT REGEXP, NOT RLIKE
escape: Option<Box<Expression>>Optional escape character
Trait Implementations§
Source§impl Clone for LikeExpression
impl Clone for LikeExpression
Source§fn clone(&self) -> LikeExpression
fn clone(&self) -> LikeExpression
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 LikeExpression
impl Debug for LikeExpression
Source§impl Display for LikeExpression
impl Display for LikeExpression
Source§impl PartialEq for LikeExpression
impl PartialEq for LikeExpression
impl StructuralPartialEq for LikeExpression
Auto Trait Implementations§
impl Freeze for LikeExpression
impl RefUnwindSafe for LikeExpression
impl Send for LikeExpression
impl Sync for LikeExpression
impl Unpin for LikeExpression
impl UnsafeUnpin for LikeExpression
impl UnwindSafe for LikeExpression
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