pub enum ValueExtractor {
Full,
Regex(Regex),
}Expand description
Extracts values from query parameter content.
Variants§
Full
Use the full parameter value.
Regex(Regex)
Extract using regex (returns first capture group, or full match if no groups).
Trait Implementations§
Source§impl Clone for ValueExtractor
impl Clone for ValueExtractor
Source§fn clone(&self) -> ValueExtractor
fn clone(&self) -> ValueExtractor
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 ValueExtractor
impl RefUnwindSafe for ValueExtractor
impl Send for ValueExtractor
impl Sync for ValueExtractor
impl Unpin for ValueExtractor
impl UnwindSafe for ValueExtractor
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