pub enum CanonKind {
Predefined(PredefinedKind),
List(Box<CanonType>),
Vector {
coord: Option<VectorCoordKind>,
dimension: Option<i64>,
},
Union(Vec<CanonType>),
}Variants§
Predefined(PredefinedKind)
List(Box<CanonType>)
Vector
VECTOR<COORD NOT NULL>(DIM) (CIP-216). Either half may be absent
(coord: None renders as bare VECTOR, dimension: None omits the
(...) suffix) – both are grammatically legal TypeExpr::Vector
shapes, kept around only so validate_property_type can render
them back into Neo4j’s own error text for the “need to define both”
rejection.
Union(Vec<CanonType>)
Two or more component types, already flattened, deduped, subtype-
collapsed, and ordered – the result of normalize_union.
Trait Implementations§
impl Eq for CanonKind
impl StructuralPartialEq for CanonKind
Auto Trait Implementations§
impl Forget for CanonKind
impl Freeze for CanonKind
impl Move for CanonKind
impl RefUnwindSafe for CanonKind
impl Send for CanonKind
impl Sync for CanonKind
impl Unpin for CanonKind
impl UnsafeUnpin for CanonKind
impl UnwindSafe for CanonKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.