pub struct TextRuleSpec {
pub requires: Vec<TextMatchSpec>,
pub forbids: Vec<TextMatchSpec>,
}Expand description
The document-scoped options for text_rule — requires / forbids lists, each a
set of independent whole-document checks.
Fields§
§requires: Vec<TextMatchSpec>entries that must be found
forbids: Vec<TextMatchSpec>entries that must not be found
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextRuleSpec
impl RefUnwindSafe for TextRuleSpec
impl Send for TextRuleSpec
impl Sync for TextRuleSpec
impl Unpin for TextRuleSpec
impl UnsafeUnpin for TextRuleSpec
impl UnwindSafe for TextRuleSpec
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