pub enum NameSelector {
Exact(String),
Starts(String),
}Expand description
Selects which query parameters to extract.
Variants§
Exact(String)
Match a single parameter by exact name.
Starts(String)
Match all parameters starting with a prefix.
Results are sorted by parameter name for deterministic cache keys.
Trait Implementations§
Source§impl Clone for NameSelector
impl Clone for NameSelector
Source§fn clone(&self) -> NameSelector
fn clone(&self) -> NameSelector
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 NameSelector
impl RefUnwindSafe for NameSelector
impl Send for NameSelector
impl Sync for NameSelector
impl Unpin for NameSelector
impl UnwindSafe for NameSelector
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