pub enum Type {
Unspecified,
Number,
String,
Bool,
Array,
Record,
Subject,
}Expand description
Type information for expressions.
This enum represents the type of an expression in the EventQL type system.
Types can be inferred during semantic analysis or left as Unspecified.
Variants§
Unspecified
Type has not been determined yet
Number
Numeric type (f64)
String
String type
Bool
Boolean type
Array
Array type
Record
Record (object) type
Subject
Subject pattern type
Trait Implementations§
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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