pub struct Char;Expand description
char(n): fixed-length, blank-padded text.
Trait Implementations§
impl Assignable for Char
impl Assignable<Char> for Text
impl Assignable<Char> for Varchar
impl Assignable<Char> for Any
impl Assignable<Enum> for Char
impl Assignable<Text> for Char
impl Assignable<Varchar> for Char
impl Compatible for Char
impl Compatible<Any> for Char
impl Compatible<Char> for Text
impl Compatible<Char> for Varchar
impl Compatible<Char> for Enum
impl Compatible<Char> for Any
impl Compatible<Enum> for Char
impl Compatible<Placeholder> for Char
impl Compatible<Text> for Char
impl Compatible<Varchar> for Char
impl Copy for Char
impl DataType for Char
Source§impl DefaultCastTypeName for Char
impl DefaultCastTypeName for Char
Source§const CAST_TYPE_NAME: &'static str = "CHAR"
const CAST_TYPE_NAME: &'static str = "CHAR"
The type name used in
CAST(expr AS <name>).impl Eq for Char
Source§impl LengthPolicy<PostgresDialect> for Char
impl LengthPolicy<PostgresDialect> for Char
Source§impl SQLTypeToRust<PostgresDialect> for Char
impl SQLTypeToRust<PostgresDialect> for Char
impl StructuralPartialEq for Char
impl Textual for Char
Auto Trait Implementations§
impl Freeze for Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnsafeUnpin for Char
impl UnwindSafe for Char
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.