#[non_exhaustive]pub enum ColTypeOptionValue {
CString(String),
ColType(ColType),
CSet(Box<ColTypeOption>),
CList(Box<ColTypeOption>),
UdtType(CUdt),
TupleType(CTuple),
CMap(Box<ColTypeOption>, Box<ColTypeOption>),
}
Expand description
Enum that represents all possible types of value
of ColTypeOption
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CString(String)
ColType(ColType)
CSet(Box<ColTypeOption>)
CList(Box<ColTypeOption>)
UdtType(CUdt)
TupleType(CTuple)
CMap(Box<ColTypeOption>, Box<ColTypeOption>)
Trait Implementations§
Source§impl Clone for ColTypeOptionValue
impl Clone for ColTypeOptionValue
Source§fn clone(&self) -> ColTypeOptionValue
fn clone(&self) -> ColTypeOptionValue
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 ColTypeOptionValue
impl Debug for ColTypeOptionValue
Source§impl Hash for ColTypeOptionValue
impl Hash for ColTypeOptionValue
Source§impl Ord for ColTypeOptionValue
impl Ord for ColTypeOptionValue
Source§fn cmp(&self, other: &ColTypeOptionValue) -> Ordering
fn cmp(&self, other: &ColTypeOptionValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ColTypeOptionValue
impl PartialEq for ColTypeOptionValue
Source§impl PartialOrd for ColTypeOptionValue
impl PartialOrd for ColTypeOptionValue
Source§impl Serialize for ColTypeOptionValue
impl Serialize for ColTypeOptionValue
impl Eq for ColTypeOptionValue
impl StructuralPartialEq for ColTypeOptionValue
Auto Trait Implementations§
impl Freeze for ColTypeOptionValue
impl RefUnwindSafe for ColTypeOptionValue
impl Send for ColTypeOptionValue
impl Sync for ColTypeOptionValue
impl Unpin for ColTypeOptionValue
impl UnwindSafe for ColTypeOptionValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more