pub struct VarLenContext { /* private fields */ }Expand description
Detailed metadata for a variable-length TDS type.
Implementations§
Source§impl VarLenContext
impl VarLenContext
Sourcepub fn new(type: VarLenType, len: usize, collation: Option<Collation>) -> Self
pub fn new(type: VarLenType, len: usize, collation: Option<Collation>) -> Self
Creates a variable-length type context.
Sourcepub fn type(&self) -> VarLenType
pub fn type(&self) -> VarLenType
Get the var len context’s r#type.
Trait Implementations§
Source§impl Clone for VarLenContext
impl Clone for VarLenContext
Source§fn clone(&self) -> VarLenContext
fn clone(&self) -> VarLenContext
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 VarLenContext
impl Debug for VarLenContext
Source§impl PartialEq for VarLenContext
impl PartialEq for VarLenContext
Source§fn eq(&self, other: &VarLenContext) -> bool
fn eq(&self, other: &VarLenContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VarLenContext
impl Eq for VarLenContext
impl StructuralPartialEq for VarLenContext
Auto Trait Implementations§
impl Freeze for VarLenContext
impl RefUnwindSafe for VarLenContext
impl Send for VarLenContext
impl Sync for VarLenContext
impl Unpin for VarLenContext
impl UnsafeUnpin for VarLenContext
impl UnwindSafe for VarLenContext
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