Trait diesel::types::ToSql [] [src]

pub trait ToSql<A: NativeSqlType> {
    fn to_sql<W: Write>(&self, out: &mut W) -> Result<IsNullBox<Error>>;
}

Serializes a single value to be sent to the database. The output will be included as a bind parameter, and is expected to be the binary format, not text.

Required Methods

fn to_sql<W: Write>(&self, out: &mut W) -> Result<IsNullBox<Error>>

Implementors