pub enum StringPolicy {
NVarCharMax,
NVarChar(usize),
ObservedNVarChar,
}Expand description
String conversion policy.
Variants§
NVarCharMax
Use nvarchar(max).
NVarChar(usize)
Use bounded nvarchar(n).
ObservedNVarChar
Infer bounded nvarchar(n) from observed values.
Trait Implementations§
Source§impl Clone for StringPolicy
impl Clone for StringPolicy
Source§fn clone(&self) -> StringPolicy
fn clone(&self) -> StringPolicy
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 moreSource§impl Debug for StringPolicy
impl Debug for StringPolicy
Source§impl Default for StringPolicy
impl Default for StringPolicy
Source§fn default() -> StringPolicy
fn default() -> StringPolicy
Returns the “default value” for a type. Read more
Source§impl Hash for StringPolicy
impl Hash for StringPolicy
Source§impl PartialEq for StringPolicy
impl PartialEq for StringPolicy
Source§fn eq(&self, other: &StringPolicy) -> bool
fn eq(&self, other: &StringPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StringPolicy
impl Eq for StringPolicy
impl StructuralPartialEq for StringPolicy
Auto Trait Implementations§
impl Freeze for StringPolicy
impl RefUnwindSafe for StringPolicy
impl Send for StringPolicy
impl Sync for StringPolicy
impl Unpin for StringPolicy
impl UnsafeUnpin for StringPolicy
impl UnwindSafe for StringPolicy
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