Trait tidb_query_datatype::codec::data_type::AsMySQLBool [−][src]
A trait of evaluating current concrete eval type into a MySQL logic value, represented by
Rust’s bool
type.
Required methods
fn as_mysql_bool(&self, context: &mut EvalContext) -> Result<bool>
[src]
Evaluates into a MySQL logic value.
Implementations on Foreign Types
impl<'a, T: AsMySQLBool> AsMySQLBool for &'a T
[src]
fn as_mysql_bool(&self, context: &mut EvalContext) -> Result<bool>
[src]
impl<'a, T> AsMySQLBool for Option<&'a T> where
T: AsMySQLBool,
[src]
T: AsMySQLBool,