pub struct PproxyRuleEntry {
pub line_number: usize,
pub raw: String,
pub regex: CompatRegex,
pub uses_fancy: bool,
}Expand description
A single parsed entry from a pproxy rule file.
Fields§
§line_number: usizeLine number in the file (1-indexed).
raw: StringRaw pattern string from the file.
regex: CompatRegexCompiled regex (fast or fancy depending on pattern).
uses_fancy: boolWhether this rule uses the fancy_regex backend.
Trait Implementations§
Source§impl Clone for PproxyRuleEntry
impl Clone for PproxyRuleEntry
Source§fn clone(&self) -> PproxyRuleEntry
fn clone(&self) -> PproxyRuleEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PproxyRuleEntry
impl RefUnwindSafe for PproxyRuleEntry
impl Send for PproxyRuleEntry
impl Sync for PproxyRuleEntry
impl Unpin for PproxyRuleEntry
impl UnsafeUnpin for PproxyRuleEntry
impl UnwindSafe for PproxyRuleEntry
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