pub struct BuiltinCtx<'a> {
pub db: &'a LogicDb,
pub config: &'a LogicConfig,
pub answer_limit: Option<usize>,
}Expand description
Context handed to every builtin projection.
Fields§
§db: &'a LogicDbActive clause database for child queries.
config: &'a LogicConfigActive query limits and search configuration.
answer_limit: Option<usize>Effective answer cap for the current query stream.
Auto Trait Implementations§
impl<'a> Freeze for BuiltinCtx<'a>
impl<'a> RefUnwindSafe for BuiltinCtx<'a>
impl<'a> Send for BuiltinCtx<'a>
impl<'a> Sync for BuiltinCtx<'a>
impl<'a> Unpin for BuiltinCtx<'a>
impl<'a> UnsafeUnpin for BuiltinCtx<'a>
impl<'a> UnwindSafe for BuiltinCtx<'a>
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