pub struct ProjQuery {
pub noun: String,
pub kind: ProjQueryKind,
pub span: SourceSpan,
}Expand description
A projection query: <noun> exists | count <predicate> is <N> | where <predicate>.
The predicate reuses the guard expression kernel, restricted to projection
fields. The noun is a dotted fact name, so a scenario can assert over runtime
facts such as agent.turn.completed as well as single-identifier user facts.
Fields§
§noun: String§kind: ProjQueryKind§span: SourceSpanTrait Implementations§
impl Eq for ProjQuery
impl StructuralPartialEq for ProjQuery
Auto Trait Implementations§
impl Freeze for ProjQuery
impl RefUnwindSafe for ProjQuery
impl Send for ProjQuery
impl Sync for ProjQuery
impl Unpin for ProjQuery
impl UnsafeUnpin for ProjQuery
impl UnwindSafe for ProjQuery
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