Struct diesel::sql_types::Text [] [src]

pub struct Text;

The text SQL type.

On all backends strings must be valid UTF-8. On PostgreSQL strings must not include nul bytes.

Schema inference will treat all variants of TEXT as this type (e.g. VARCHAR, MEDIUMTEXT, etc).

ToSql impls

FromSql impls

Trait Implementations

impl SqlOrd for Text
[src]

impl Debug for Text
[src]

[src]

Formats the value using the given formatter.

impl Clone for Text
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Text
[src]

impl Default for Text
[src]

[src]

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