pub struct Compiled {
pub raw: Query,
pub root: Target,
pub templates: Vec<Template>,
pub rewritten: Query,
pub expect: Option<SelectionExpect>,
pub bound: usize,
pub request: Request,
}Expand description
A compiled request: the selector as parsed, its root, the admitted templates, the rewritten tree and the bound.
Fields§
§raw: Query§root: Target§templates: Vec<Template>§rewritten: Query§expect: Option<SelectionExpect>§bound: usizeThe most hits allowed (expect.max, or the ceiling).
request: RequestThe request as given (select, the templates, expect?), for the
corrected examples (3.3).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Compiled
impl RefUnwindSafe for Compiled
impl Send for Compiled
impl Sync for Compiled
impl Unpin for Compiled
impl UnsafeUnpin for Compiled
impl UnwindSafe for Compiled
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