pub enum Cell {
Null,
Bool(bool),
Int(i64),
Uint(u64),
Float(f64),
Text(String),
Bytes(Vec<u8>),
Timestamp(DateTime<Utc>),
Date(NaiveDate),
}Expand description
One cell’s value.
Variants§
Null
SQL NULL, or a column the driver did not return.
Bool(bool)
A boolean.
Int(i64)
A signed integer.
Uint(u64)
An unsigned integer.
Float(f64)
A floating-point number.
Text(String)
Text.
Bytes(Vec<u8>)
Binary.
Timestamp(DateTime<Utc>)
A UTC timestamp.
Date(NaiveDate)
A calendar date.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn event_name() -> &'static strwhere
Self: Sized,
fn event_name() -> &'static strwhere
Self: Sized,
A human-readable name, used by wildcard listeners and log output.
Always the Rust type path; see the trait docs.