pub struct RuleSignals {
pub quoted_phrase: bool,
pub rarest_exact_document_frequency: Option<u64>,
pub identifier_token: bool,
}Expand description
Caller-computed deterministic query-shape facts.
Fields§
§quoted_phrase: boolWhether the structured query contains a quoted phrase.
rarest_exact_document_frequency: Option<u64>Lowest exact-token document frequency, absent when no exact token exists.
identifier_token: boolWhether token classification found an identifier.
Implementations§
Source§impl RuleSignals
impl RuleSignals
Trait Implementations§
Source§impl Clone for RuleSignals
impl Clone for RuleSignals
impl Copy for RuleSignals
Source§impl Debug for RuleSignals
impl Debug for RuleSignals
Source§impl Default for RuleSignals
impl Default for RuleSignals
impl Eq for RuleSignals
Source§impl PartialEq for RuleSignals
impl PartialEq for RuleSignals
impl StructuralPartialEq for RuleSignals
Auto Trait Implementations§
impl Freeze for RuleSignals
impl RefUnwindSafe for RuleSignals
impl Send for RuleSignals
impl Sync for RuleSignals
impl Unpin for RuleSignals
impl UnsafeUnpin for RuleSignals
impl UnwindSafe for RuleSignals
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