pub enum DefineStmt {
Table(DefineTable),
Field(DefineField),
Index(DefineIndex),
Event(DefineEvent),
Param(DefineParam),
Function(DefineFunction),
Analyzer(DefineAnalyzer),
Other(PartialNode),
}Expand description
DEFINE family. Tier 1 kinds are modeled; the long tail
(ACCESS/API/BUCKET/CONFIG/…) is Other until an analyzer needs it.
Variants§
Table(DefineTable)
DEFINE TABLE.
Field(DefineField)
DEFINE FIELD.
Index(DefineIndex)
DEFINE INDEX.
Event(DefineEvent)
DEFINE EVENT.
Param(DefineParam)
DEFINE PARAM.
Function(DefineFunction)
DEFINE FUNCTION.
Analyzer(DefineAnalyzer)
DEFINE ANALYZER.
Other(PartialNode)
An unmodeled DEFINE kind (ACCESS/API/BUCKET/CONFIG/…).
Trait Implementations§
Source§impl Clone for DefineStmt
impl Clone for DefineStmt
Source§fn clone(&self) -> DefineStmt
fn clone(&self) -> DefineStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefineStmt
impl Debug for DefineStmt
Source§impl PartialEq for DefineStmt
impl PartialEq for DefineStmt
impl StructuralPartialEq for DefineStmt
Auto Trait Implementations§
impl Freeze for DefineStmt
impl RefUnwindSafe for DefineStmt
impl Send for DefineStmt
impl Sync for DefineStmt
impl Unpin for DefineStmt
impl UnsafeUnpin for DefineStmt
impl UnwindSafe for DefineStmt
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