Enum type_protocol::ExtensionType
source · #[non_exhaustive]pub enum ExtensionType {
Decimal,
DateTime,
Date,
Time,
Duration,
Rgb,
Rgba,
Uuid,
}
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.
Trait Implementations§
source§impl Clone for ExtensionType
impl Clone for ExtensionType
source§fn clone(&self) -> ExtensionType
fn clone(&self) -> ExtensionType
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 ExtensionType
impl Debug for ExtensionType
source§impl<'_derivative_strum> From<&'_derivative_strum ExtensionType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ExtensionType> for &'static str
source§fn from(x: &'_derivative_strum ExtensionType) -> &'static str
fn from(x: &'_derivative_strum ExtensionType) -> &'static str
Converts to this type from the input type.
source§impl From<ExtensionType> for &'static str
impl From<ExtensionType> for &'static str
source§fn from(x: ExtensionType) -> &'static str
fn from(x: ExtensionType) -> &'static str
Converts to this type from the input type.
source§impl FromStr for ExtensionType
impl FromStr for ExtensionType
source§impl Hash for ExtensionType
impl Hash for ExtensionType
source§impl PartialEq<ExtensionType> for ExtensionType
impl PartialEq<ExtensionType> for ExtensionType
source§fn eq(&self, other: &ExtensionType) -> bool
fn eq(&self, other: &ExtensionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for ExtensionType
impl TryFrom<&str> for ExtensionType
impl Eq for ExtensionType
impl StructuralEq for ExtensionType
impl StructuralPartialEq for ExtensionType
Auto Trait Implementations§
impl RefUnwindSafe for ExtensionType
impl Send for ExtensionType
impl Sync for ExtensionType
impl Unpin for ExtensionType
impl UnwindSafe for ExtensionType
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