pub enum Symbol {
OpenParen,
CloseParen,
Dot,
Comma,
Colon,
OpenBracket,
CloseBracket,
OpenBrace,
CloseBrace,
}Expand description
Structural symbols used in EventQL syntax.
These symbols define the structure of expressions and queries, such as parentheses for grouping, brackets for arrays, and braces for records.
Variants§
OpenParen
Opening parenthesis (
CloseParen
Closing parenthesis )
Dot
Dot . (for field access)
Comma
Comma , (for separating list items)
Colon
Colon : (for record field definitions)
OpenBracket
Opening bracket [
CloseBracket
Closing bracket ]
OpenBrace
Opening brace {
CloseBrace
Closing brace }
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Symbol
impl<'de> Deserialize<'de> for Symbol
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Symbol
impl Eq for Symbol
impl StructuralPartialEq for Symbol
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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