Enum partiql_ast::ast::CustomTypePart
source · pub enum CustomTypePart {
Name(SymbolPrimitive),
Parameterized(SymbolPrimitive, Vec<CustomTypeParam>),
}
Variants§
Name(SymbolPrimitive)
E.g. any of WITH
, TIME
, andZONE
in TIME(20) WITH TIME ZONE
Parameterized(SymbolPrimitive, Vec<CustomTypeParam>)
E.g. TIME(20) in
TIME(20) WITH TIME ZONE`
Trait Implementations§
source§impl Clone for CustomTypePart
impl Clone for CustomTypePart
source§fn clone(&self) -> CustomTypePart
fn clone(&self) -> CustomTypePart
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 CustomTypePart
impl Debug for CustomTypePart
source§impl PartialEq<CustomTypePart> for CustomTypePart
impl PartialEq<CustomTypePart> for CustomTypePart
source§fn eq(&self, other: &CustomTypePart) -> bool
fn eq(&self, other: &CustomTypePart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomTypePart
Auto Trait Implementations§
impl RefUnwindSafe for CustomTypePart
impl Send for CustomTypePart
impl Sync for CustomTypePart
impl Unpin for CustomTypePart
impl UnwindSafe for CustomTypePart
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