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 moreSource§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
Source§impl Hash for BinaryPolicy
impl Hash for BinaryPolicy
Source§impl PartialEq for BinaryPolicy
impl PartialEq for BinaryPolicy
Source§fn eq(&self, other: &BinaryPolicy) -> bool
fn eq(&self, other: &BinaryPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BinaryPolicy
impl Eq 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§
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