Enum msql_srv::ValueInner [−][src]
pub enum ValueInner<'a> { NULL, Bytes(&'a [u8]), Int(i64), UInt(u64), Double(f64), Date(&'a [u8]), Time(&'a [u8]), Datetime(&'a [u8]), }
Expand description
A representation of a concrete, typed MySQL value.
Variants
The MySQL NULL
value.
An untyped sequence of bytes (usually a text type or MYSQL_TYPE_BLOB
).
Int(i64)
A signed integer.
UInt(u64)
An unsigned integer.
Double(f64)
A floating point number.
A binary encoding
of a MYSQL_TYPE_DATE
.
A binary encoding
of a MYSQL_TYPE_TIME
.
A binary
encoding of a
MYSQL_TYPE_TIMESTAMP
or MYSQL_TYPE_DATETIME
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ValueInner<'a>
impl<'a> Send for ValueInner<'a>
impl<'a> Sync for ValueInner<'a>
impl<'a> Unpin for ValueInner<'a>
impl<'a> UnwindSafe for ValueInner<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V