pub enum VarcharMode {
Reject,
Truncate,
}Expand description
VARCHAR length-check policy. Postgres rejects; SQL Server silently truncates. reddb defaults to Postgres-strict.
Variants§
Trait Implementations§
Source§impl Clone for VarcharMode
impl Clone for VarcharMode
Source§fn clone(&self) -> VarcharMode
fn clone(&self) -> VarcharMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VarcharMode
Source§impl Debug for VarcharMode
impl Debug for VarcharMode
impl Eq for VarcharMode
Source§impl PartialEq for VarcharMode
impl PartialEq for VarcharMode
Source§fn eq(&self, other: &VarcharMode) -> bool
fn eq(&self, other: &VarcharMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VarcharMode
Auto Trait Implementations§
impl Freeze for VarcharMode
impl RefUnwindSafe for VarcharMode
impl Send for VarcharMode
impl Sync for VarcharMode
impl Unpin for VarcharMode
impl UnsafeUnpin for VarcharMode
impl UnwindSafe for VarcharMode
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