pub enum BinaryPolicy {
VarBinaryMax,
VarBinary(usize),
ObservedVarBinary,
}Expand description
Binary conversion policy.
Variants§
VarBinaryMax
Use varbinary(max).
VarBinary(usize)
Use bounded varbinary(n).
ObservedVarBinary
Infer bounded varbinary(n) from observed values.
Trait Implementations§
Source§impl Clone for BinaryPolicy
impl Clone for BinaryPolicy
Source§fn clone(&self) -> BinaryPolicy
fn clone(&self) -> BinaryPolicy
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 BinaryPolicy
Source§impl Debug for BinaryPolicy
impl Debug for BinaryPolicy
Source§impl Default for BinaryPolicy
impl Default for BinaryPolicy
Source§fn default() -> BinaryPolicy
fn default() -> BinaryPolicy
Returns the “default value” for a type. Read more
impl Eq for BinaryPolicy
Source§impl Hash for BinaryPolicy
impl Hash for BinaryPolicy
Source§impl PartialEq for BinaryPolicy
impl PartialEq for BinaryPolicy
impl StructuralPartialEq for BinaryPolicy
Auto Trait Implementations§
impl Freeze for BinaryPolicy
impl RefUnwindSafe for BinaryPolicy
impl Send for BinaryPolicy
impl Sync for BinaryPolicy
impl Unpin for BinaryPolicy
impl UnsafeUnpin for BinaryPolicy
impl UnwindSafe for BinaryPolicy
Blanket Implementations§
impl<T> Allocation for T
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