Struct diesel::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 QueryId for Text
[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 Text
[src]

impl SingleValue 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