pub enum CqlType {
Native(NativeType),
Collection(Box<CollectionType>),
UserDefined(UserDefinedType),
Tuple(Vec<CqlType>),
Custom(LitStr),
}
Variants§
Native(NativeType)
Collection(Box<CollectionType>)
UserDefined(UserDefinedType)
Tuple(Vec<CqlType>)
Custom(LitStr)
Trait Implementations§
Source§impl<'a> CustomToTokens<'a> for CqlType
impl<'a> CustomToTokens<'a> for CqlType
Source§impl From<CollectionType> for CqlType
impl From<CollectionType> for CqlType
Source§fn from(c: CollectionType) -> Self
fn from(c: CollectionType) -> Self
Converts to this type from the input type.
Source§impl From<KeyspaceQualifiedName> for CqlType
impl From<KeyspaceQualifiedName> for CqlType
Source§fn from(original: UserDefinedType) -> CqlType
fn from(original: UserDefinedType) -> CqlType
Converts to this type from the input type.
Source§impl From<NativeType> for CqlType
impl From<NativeType> for CqlType
Source§fn from(original: NativeType) -> CqlType
fn from(original: NativeType) -> CqlType
Converts to this type from the input type.
Source§impl Ord for CqlType
impl Ord for CqlType
Source§impl PartialOrd for CqlType
impl PartialOrd for CqlType
Source§impl ToTokens for CqlType
impl ToTokens for CqlType
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for CqlType
impl StructuralPartialEq for CqlType
Auto Trait Implementations§
impl Freeze for CqlType
impl RefUnwindSafe for CqlType
impl Send for CqlType
impl Sync for CqlType
impl Unpin for CqlType
impl UnwindSafe for CqlType
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