pub enum CandidDataTypeKind {
Show 13 variants
Blob,
Boolean,
Date,
DateTime,
Decimal,
Int32,
Int64,
Json,
Text,
Uint32,
Uint64,
Uuid,
Custom(String),
}Expand description
Serializable data type kind for API boundaries.
Mirrors DataTypeKind but uses owned String for the Custom variant,
making it suitable for serialization across API boundaries.
Variants§
Trait Implementations§
Source§impl Clone for CandidDataTypeKind
impl Clone for CandidDataTypeKind
Source§fn clone(&self) -> CandidDataTypeKind
fn clone(&self) -> CandidDataTypeKind
Returns a duplicate 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 CandidDataTypeKind
impl Debug for CandidDataTypeKind
Source§impl<'de> Deserialize<'de> for CandidDataTypeKind
impl<'de> Deserialize<'de> for CandidDataTypeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<DataTypeKind> for CandidDataTypeKind
impl From<DataTypeKind> for CandidDataTypeKind
Source§fn from(kind: DataTypeKind) -> Self
fn from(kind: DataTypeKind) -> Self
Converts to this type from the input type.
Source§impl Hash for CandidDataTypeKind
impl Hash for CandidDataTypeKind
Source§impl PartialEq for CandidDataTypeKind
impl PartialEq for CandidDataTypeKind
Source§impl Serialize for CandidDataTypeKind
impl Serialize for CandidDataTypeKind
impl Eq for CandidDataTypeKind
impl StructuralPartialEq for CandidDataTypeKind
Auto Trait Implementations§
impl Freeze for CandidDataTypeKind
impl RefUnwindSafe for CandidDataTypeKind
impl Send for CandidDataTypeKind
impl Sync for CandidDataTypeKind
impl Unpin for CandidDataTypeKind
impl UnsafeUnpin for CandidDataTypeKind
impl UnwindSafe for CandidDataTypeKind
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