pub struct RouteMatch<'a> {
pub route: &'a WebhookRoute,
pub path_params: HashMap<String, String>,
}Expand description
Result of route matching
Fields§
§route: &'a WebhookRouteThe matched route configuration
path_params: HashMap<String, String>Extracted path parameters
Trait Implementations§
Source§impl<'a> Clone for RouteMatch<'a>
impl<'a> Clone for RouteMatch<'a>
Source§fn clone(&self) -> RouteMatch<'a>
fn clone(&self) -> RouteMatch<'a>
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<'a> Freeze for RouteMatch<'a>
impl<'a> RefUnwindSafe for RouteMatch<'a>
impl<'a> Send for RouteMatch<'a>
impl<'a> Sync for RouteMatch<'a>
impl<'a> Unpin for RouteMatch<'a>
impl<'a> UnsafeUnpin for RouteMatch<'a>
impl<'a> UnwindSafe for RouteMatch<'a>
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