pub struct CompileOptions {
pub scopes: Vec<String>,
pub max_limit: usize,
}Expand description
Runtime options injected by the caller to scope and cap query execution.
Fields§
§scopes: Vec<String>Namespace scope. Empty = cross-namespace (all). Non-empty = filter to these namespaces.
max_limit: usizeHard limit cap (server-side safety). Query limit is min(requested, max_limit).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptions
impl Sync for CompileOptions
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptions
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