pub struct ParseLimits {
pub max_length: u64,
pub max_depth: u32,
}Expand description
Bounds enforced while parsing (RULE-08).
Fields§
§max_length: u64Maximum pattern length in scalar values (RX-L005).
max_depth: u32Maximum group nesting depth (RX-L006).
Trait Implementations§
Source§impl Clone for ParseLimits
impl Clone for ParseLimits
Source§impl Debug for ParseLimits
impl Debug for ParseLimits
Auto Trait Implementations§
impl Forget for ParseLimits
impl Freeze for ParseLimits
impl RefUnwindSafe for ParseLimits
impl Send for ParseLimits
impl Sync for ParseLimits
impl Unpin for ParseLimits
impl UnsafeUnpin for ParseLimits
impl UnwindSafe for ParseLimits
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