Enum rusqlite::types::Value
[−]
[src]
pub enum Value { Null, Integer(i64), Real(f64), Text(String), Blob(Vec<u8>), }
Owning dynamic type value. Value's type is typically dictated by SQLite (not by the caller).
See ValueRef
for a non-owning dynamic type value.
Variants
Null
The value is a NULL
value.
Integer(i64)
The value is a signed integer.
Real(f64)
The value is a floating point number.
Text(String)
The value is a text string.
Blob(Vec<u8>)
The value is a blob of data
Methods
impl Value
[src]
Trait Implementations
impl Clone for Value
[src]
fn clone(&self) -> Value
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Value
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Value
[src]
fn eq(&self, __arg_0: &Value) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Value) -> bool
[src]
This method tests for !=
.