Struct diesel::types::Binary [] [src]

pub struct Binary;

The binary SQL type.

Schema inference will treat all variants of BLOB as this type (e.g. VARBINARY, MEDIUMBLOB, etc).

ToSql impls

FromSql impls

Trait Implementations

impl QueryId for Binary
[src]

A type which uniquely represents Self in a SQL query. Read more

HAS_STATIC_QUERY_ID: bool = true

Can the SQL generated by Self be uniquely identified by its type? Read more

[src]

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl NotNull for Binary
[src]

impl SingleValue for Binary
[src]

impl Debug for Binary
[src]

[src]

Formats the value using the given formatter.

impl Clone for Binary
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Binary
[src]

impl Default for Binary
[src]

[src]

Returns the "default value" for a type. Read more