pub enum Matching {
Prefix,
Exact,
}Expand description
How a row’s pattern is matched against a request path.
Variants§
Prefix
The path starts with the pattern at a segment boundary: followed by
/, ?, or nothing. /price matches /price, /price/1 and
/price?id=1, and never /prices-history.
Exact
The path is the pattern, and nothing more.
Trait Implementations§
impl Copy for Matching
impl Eq for Matching
impl StructuralPartialEq for Matching
Auto Trait Implementations§
impl Freeze for Matching
impl RefUnwindSafe for Matching
impl Send for Matching
impl Sync for Matching
impl Unpin for Matching
impl UnsafeUnpin for Matching
impl UnwindSafe for Matching
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