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.
On MySQL, it is also aliased by Tinytext
, Mediumtext
, Longtext
, Char
and Varchar
.
ToSql
impls
FromSql
impls
Trait Implementations
impl SqlOrd for Text
[src]
impl QueryId for Text
[src]
impl NotNull for Text
[src]
impl SingleValue for Text
[src]
impl Debug for Text
[src]
impl Clone for Text
[src]
fn clone(&self) -> Text
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more