pub struct BooleanDataType;Expand description
Boolean data type (true/false).
Maps to: BOOLEAN (PostgreSQL, Snowflake, Databricks, ClickHouse),
BIT (SQL Server), Bool/UInt8 (ClickHouse).
§Example
use razeri_plugin_contract::DataType;
let bool_type = DataType::boolean();Trait Implementations§
Source§impl Clone for BooleanDataType
impl Clone for BooleanDataType
Source§fn clone(&self) -> BooleanDataType
fn clone(&self) -> BooleanDataType
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 moreimpl Copy for BooleanDataType
Source§impl Debug for BooleanDataType
impl Debug for BooleanDataType
Source§impl Default for BooleanDataType
impl Default for BooleanDataType
Source§fn default() -> BooleanDataType
fn default() -> BooleanDataType
Returns the “default value” for a type. Read more
impl Eq for BooleanDataType
Source§impl Hash for BooleanDataType
impl Hash for BooleanDataType
Source§impl PartialEq for BooleanDataType
impl PartialEq for BooleanDataType
impl StructuralPartialEq for BooleanDataType
Auto Trait Implementations§
impl Freeze for BooleanDataType
impl RefUnwindSafe for BooleanDataType
impl Send for BooleanDataType
impl Sync for BooleanDataType
impl Unpin for BooleanDataType
impl UnsafeUnpin for BooleanDataType
impl UnwindSafe for BooleanDataType
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