pub struct Varchar;Expand description
varchar(n): text with a length limit.
Trait Implementations§
impl Assignable for Varchar
impl Assignable<Char> for Varchar
impl Assignable<Enum> for Varchar
impl Assignable<Text> for Varchar
impl Assignable<Varchar> for Text
impl Assignable<Varchar> for Char
impl Assignable<Varchar> for Any
impl Compatible for Varchar
impl Compatible<Any> for Varchar
impl Compatible<Char> for Varchar
impl Compatible<Enum> for Varchar
impl Compatible<Placeholder> for Varchar
impl Compatible<Text> for Varchar
impl Compatible<Varchar> for Text
impl Compatible<Varchar> for Char
impl Compatible<Varchar> for Enum
impl Compatible<Varchar> for Any
impl Copy for Varchar
impl DataType for Varchar
Source§impl DefaultCastTypeName for Varchar
impl DefaultCastTypeName for Varchar
Source§const CAST_TYPE_NAME: &'static str = "VARCHAR"
const CAST_TYPE_NAME: &'static str = "VARCHAR"
The type name used in
CAST(expr AS <name>).impl Eq for Varchar
impl JsonbOperand for Varchar
Source§impl LengthPolicy<PostgresDialect> for Varchar
impl LengthPolicy<PostgresDialect> for Varchar
Source§impl SQLTypeToRust<PostgresDialect> for Varchar
impl SQLTypeToRust<PostgresDialect> for Varchar
impl StructuralPartialEq for Varchar
impl Textual for Varchar
Auto Trait Implementations§
impl Freeze for Varchar
impl RefUnwindSafe for Varchar
impl Send for Varchar
impl Sync for Varchar
impl Unpin for Varchar
impl UnsafeUnpin for Varchar
impl UnwindSafe for Varchar
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
Mutably borrows from an owned value. Read more
Source§impl<'a, T, D> CastTarget<'a, T, D> for Twhere
T: DataType + DefaultCastTypeName,
impl<'a, T, D> CastTarget<'a, T, D> for Twhere
T: DataType + DefaultCastTypeName,
Source§fn cast_type_name(self) -> &'a str
fn cast_type_name(self) -> &'a str
The SQL type name to cast to.