pub struct StringRule {
pub identifier: String,
pub pattern: String,
pub modifiers: Vec<Modifier>,
pub is_regex: bool,
}Expand description
Traditional string or regex pattern.
Fields§
§identifier: String§pattern: String§modifiers: Vec<Modifier>§is_regex: boolTrait Implementations§
Source§impl Clone for StringRule
impl Clone for StringRule
Source§fn clone(&self) -> StringRule
fn clone(&self) -> StringRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StringRule
impl RefUnwindSafe for StringRule
impl Send for StringRule
impl Sync for StringRule
impl Unpin for StringRule
impl UnsafeUnpin for StringRule
impl UnwindSafe for StringRule
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