Enum rusqlite::types::Value [−][src]
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
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.
The value is a blob of data
Implementations
Trait Implementations
impl FromSql for Value
[src]
impl FromSql for Value
[src]fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
[src]
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
[src]Converts SQLite value into Rust value.
impl ToSql for Value
[src]
impl ToSql for Value
[src]fn to_sql(&self) -> Result<ToSqlOutput<'_>>
[src]
fn to_sql(&self) -> Result<ToSqlOutput<'_>>
[src]Converts Rust value to SQLite value
impl StructuralPartialEq for Value
[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more