Struct rusqlite::types::Null
[−]
[src]
pub struct Null;
Empty struct that can be used to fill in a query parameter as NULL
.
Example
fn main() { } fn insert_null(conn: &Connection) -> Result<c_int> { conn.execute("INSERT INTO people (name) VALUES (?)", &[&Null]) }
Trait Implementations
impl ToSql for Null
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
impl Copy for Null
[src]
impl Clone for Null
[src]
fn clone(&self) -> Null
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more