pub struct AnalysisOptions {
pub default_scope: Scope,
pub event_type_info: Type,
pub custom_types: HashSet<StrRef>,
}Expand description
Configuration options for static analysis.
This structure contains the type information needed to perform static analysis on EventQL queries, including the default scope with built-in functions and the type information for event records.
Fields§
§default_scope: ScopeThe default scope containing built-in functions and their type signatures.
event_type_info: TypeType information for event records being queried.
custom_types: HashSet<StrRef>Custom types that are not defined in the EventQL reference.
This set allows users to register custom type names that can be used
in type conversion expressions (e.g., field AS CustomType). Custom
type names are case-insensitive.
Trait Implementations§
Source§impl Default for AnalysisOptions
impl Default for AnalysisOptions
Source§fn default() -> AnalysisOptions
fn default() -> AnalysisOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnalysisOptions
impl RefUnwindSafe for AnalysisOptions
impl Send for AnalysisOptions
impl Sync for AnalysisOptions
impl Unpin for AnalysisOptions
impl UnwindSafe for AnalysisOptions
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