Enum tiberius::TypeLength
source · pub enum TypeLength {
Limited(u16),
Max,
}
Expand description
A length of a column in bytes or characters.
Variants§
Limited(u16)
The number of bytes (or characters) reserved in the column.
Max
Unlimited, stored in the heap outside of the row.
Trait Implementations§
source§impl Clone for TypeLength
impl Clone for TypeLength
source§fn clone(&self) -> TypeLength
fn clone(&self) -> TypeLength
Returns a copy of the value. Read more
1.0.0 · 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 TypeLength
impl Debug for TypeLength
source§impl PartialEq for TypeLength
impl PartialEq for TypeLength
source§fn eq(&self, other: &TypeLength) -> bool
fn eq(&self, other: &TypeLength) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TypeLength
impl Eq for TypeLength
impl StructuralEq for TypeLength
impl StructuralPartialEq for TypeLength
Auto Trait Implementations§
impl RefUnwindSafe for TypeLength
impl Send for TypeLength
impl Sync for TypeLength
impl Unpin for TypeLength
impl UnwindSafe for TypeLength
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