pub struct ShowConstraintsClause {
pub yields: YieldList,
pub where_expr: Option<Expr>,
pub type_filter: ConstraintTypeFilter,
pub stages: Vec<PageStage>,
}Expand description
SHOW [<type filter>] CONSTRAINTS [YIELD ...] [WHERE ...] (CIP-85’s
observation surface, needed by CIP-100 to expose a property type
constraint’s normalized propertyType; the <type filter> grammar is
CIP-62/CIP-64/CIP-74’s [ALL] [NODE|REL[ATIONSHIP]] [PROPERTY]? (UNIQUE[NESS]|KEY|EXIST[ENCE]|TYPE) surface). Mirrors
ShowFunctionsClause otherwise.
Fields§
§yields: YieldList§where_expr: Option<Expr>§type_filter: ConstraintTypeFilter§stages: Vec<PageStage>ORDER BY/SKIP/LIMIT written directly on the YIELD (before
any trailing WHERE) as part of the YIELD’s own paging
sub-grammar, e.g. YIELD name ORDER BY name WHERE ... RETURN ... – distinct from a SHOW ... YIELD ...
followed by a separate top-level ORDER BY/RETURN ... ORDER BY
clause, which parses as its own StandaloneOrderBy/Return clause
instead and never populates this field.
Trait Implementations§
Source§impl Clone for ShowConstraintsClause
impl Clone for ShowConstraintsClause
Source§impl Debug for ShowConstraintsClause
impl Debug for ShowConstraintsClause
Source§impl PartialEq for ShowConstraintsClause
impl PartialEq for ShowConstraintsClause
impl StructuralPartialEq for ShowConstraintsClause
Auto Trait Implementations§
impl Forget for ShowConstraintsClause
impl Freeze for ShowConstraintsClause
impl Move for ShowConstraintsClause
impl RefUnwindSafe for ShowConstraintsClause
impl Send for ShowConstraintsClause
impl Sync for ShowConstraintsClause
impl Unpin for ShowConstraintsClause
impl UnsafeUnpin for ShowConstraintsClause
impl UnwindSafe for ShowConstraintsClause
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