pub trait Expression:
Send
+ Sync
+ Debug {
// Required method
fn expression_type(&self) -> ExpressionType<'_>;
// Provided methods
fn params(&self) -> Option<Vec<&DatabaseValue>> { ... }
fn values(&self) -> Option<Vec<&DatabaseValue>> { ... }
fn is_null(&self) -> bool { ... }
}Required Methods§
fn expression_type(&self) -> ExpressionType<'_>
Provided Methods§
fn params(&self) -> Option<Vec<&DatabaseValue>>
fn values(&self) -> Option<Vec<&DatabaseValue>>
fn is_null(&self) -> bool
Trait Implementations§
Source§impl From<Identifier> for Box<dyn Expression>
impl From<Identifier> for Box<dyn Expression>
Source§fn from(val: Identifier) -> Self
fn from(val: Identifier) -> Self
Converts to this type from the input type.