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
sourceimpl Clone for TypeLength
impl Clone for TypeLength
sourcefn clone(&self) -> TypeLength
fn clone(&self) -> TypeLength
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TypeLength
impl Debug for TypeLength
sourceimpl PartialEq<TypeLength> for TypeLength
impl PartialEq<TypeLength> for TypeLength
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TypeLength) -> bool
fn ne(&self, other: &TypeLength) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more