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 From<Null> for Value
[src]

[src]

Performs the conversion.

impl ToSql for Null
[src]

[src]

impl Copy for Null
[src]

impl Clone for Null
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more