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 means all namespaces.
max_limit: usizeEffective server page size applied against any explicit query limit.
The public handler clamps its requested page_size to the hard cap before
constructing these compiler options.
Trait Implementations§
Auto Trait Implementations§
impl Forget for CompileOptions
impl Freeze for CompileOptions
impl Move for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptionswhere
RawVecInner: Send,
impl Sync for CompileOptionswhere
RawVecInner: Sync,
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptionswhere
RawVecInner: UnwindSafe,
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