pub struct Text;
Expand description
Trait Implementations§
source§impl<'a, '__expr, '__expr2> AsExpression<Text> for &'__expr2 &'__expr MigrationVersion<'a>
impl<'a, '__expr, '__expr2> AsExpression<Text> for &'__expr2 &'__expr MigrationVersion<'a>
source§type Expression = Bound<Text, &'__expr2 &'__expr MigrationVersion<'a>>
type Expression = Bound<Text, &'__expr2 &'__expr MigrationVersion<'a>>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl<'__expr, '__expr2> AsExpression<Text> for &'__expr2 &'__expr String
impl<'__expr, '__expr2> AsExpression<Text> for &'__expr2 &'__expr String
source§type Expression = Bound<Text, &'__expr2 &'__expr String>
type Expression = Bound<Text, &'__expr2 &'__expr String>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl<'__expr, '__expr2> AsExpression<Text> for &'__expr2 &'__expr str
impl<'__expr, '__expr2> AsExpression<Text> for &'__expr2 &'__expr str
source§type Expression = Bound<Text, &'__expr2 &'__expr str>
type Expression = Bound<Text, &'__expr2 &'__expr str>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl<'a, '__expr> AsExpression<Text> for &'__expr MigrationVersion<'a>
impl<'a, '__expr> AsExpression<Text> for &'__expr MigrationVersion<'a>
source§type Expression = Bound<Text, &'__expr MigrationVersion<'a>>
type Expression = Bound<Text, &'__expr MigrationVersion<'a>>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl<'__expr> AsExpression<Text> for &'__expr String
impl<'__expr> AsExpression<Text> for &'__expr String
source§type Expression = Bound<Text, &'__expr String>
type Expression = Bound<Text, &'__expr String>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl<'__expr> AsExpression<Text> for &'__expr str
impl<'__expr> AsExpression<Text> for &'__expr str
source§type Expression = Bound<Text, &'__expr str>
type Expression = Bound<Text, &'__expr str>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl<'a> AsExpression<Text> for MigrationVersion<'a>
impl<'a> AsExpression<Text> for MigrationVersion<'a>
source§type Expression = Bound<Text, MigrationVersion<'a>>
type Expression = Bound<Text, MigrationVersion<'a>>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Text> for String
impl AsExpression<Text> for String
source§type Expression = Bound<Text, String>
type Expression = Bound<Text, String>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl<'a, DB> FromSql<Text, DB> for MigrationVersion<'a>
impl<'a, DB> FromSql<Text, DB> for MigrationVersion<'a>
source§impl FromSql<Text, Mysql> for *const str
Available on crate feature mysql_backend
only.
impl FromSql<Text, Mysql> for *const str
mysql_backend
only.The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of String
, but don’t want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
source§impl FromSql<Text, Pg> for *const str
Available on crate feature postgres_backend
only.
impl FromSql<Text, Pg> for *const str
postgres_backend
only.The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of String
, but don’t want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
source§impl FromSql<Text, Sqlite> for *const str
Available on crate feature sqlite
only.
impl FromSql<Text, Sqlite> for *const str
sqlite
only.The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of String
, but don’t want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
source§impl HasSqlType<Text> for Mysql
impl HasSqlType<Text> for Mysql
source§impl HasSqlType<Text> for Pg
impl HasSqlType<Text> for Pg
source§fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata
fn metadata(_: &mut Self::MetadataLookup) -> PgTypeMetadata
source§impl HasSqlType<Text> for Sqlite
impl HasSqlType<Text> for Sqlite
source§impl QueryId for Text
impl QueryId for Text
source§const HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Self
be uniquely identified by its type? Read moresource§impl<'a, DB> ToSql<Text, DB> for MigrationVersion<'a>
impl<'a, DB> ToSql<Text, DB> for MigrationVersion<'a>
source§impl<DB> ToSql<Text, DB> for strwhere
for<'a> DB: Backend<BindCollector<'a> = RawBytesBindCollector<DB>>,
impl<DB> ToSql<Text, DB> for strwhere
for<'a> DB: Backend<BindCollector<'a> = RawBytesBindCollector<DB>>,
impl Copy for Text
impl SingleValue for Text
impl SqlOrd for Text
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)