pub struct DateDataType;Expand description
Date only (year, month, day) without time component.
Maps to: DATE (all databases), Date/Date32 (ClickHouse).
§Example
use razeri_plugin_contract::DataType;
let date = DataType::date();Trait Implementations§
Source§impl Clone for DateDataType
impl Clone for DateDataType
Source§fn clone(&self) -> DateDataType
fn clone(&self) -> DateDataType
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 DateDataType
Source§impl Debug for DateDataType
impl Debug for DateDataType
Source§impl Default for DateDataType
impl Default for DateDataType
Source§fn default() -> DateDataType
fn default() -> DateDataType
Returns the “default value” for a type. Read more
impl Eq for DateDataType
Source§impl Hash for DateDataType
impl Hash for DateDataType
Source§impl PartialEq for DateDataType
impl PartialEq for DateDataType
impl StructuralPartialEq for DateDataType
Auto Trait Implementations§
impl Freeze for DateDataType
impl RefUnwindSafe for DateDataType
impl Send for DateDataType
impl Sync for DateDataType
impl Unpin for DateDataType
impl UnsafeUnpin for DateDataType
impl UnwindSafe for DateDataType
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