pub struct HttpMethodMatch(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for HttpMethodMatch
impl Clone for HttpMethodMatch
Source§fn clone(&self) -> HttpMethodMatch
fn clone(&self) -> HttpMethodMatch
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 moreSource§impl Debug for HttpMethodMatch
impl Debug for HttpMethodMatch
Source§impl Default for HttpMethodMatch
impl Default for HttpMethodMatch
Source§fn default() -> HttpMethodMatch
fn default() -> HttpMethodMatch
Returns the “default value” for a type. Read more
Source§impl From<HttpMethodMatch> for HttpRouteMatch
impl From<HttpMethodMatch> for HttpRouteMatch
Source§fn from(value: HttpMethodMatch) -> Self
fn from(value: HttpMethodMatch) -> Self
Converts to this type from the input type.
Source§impl MatchRequest for HttpMethodMatch
impl MatchRequest for HttpMethodMatch
Auto Trait Implementations§
impl Freeze for HttpMethodMatch
impl RefUnwindSafe for HttpMethodMatch
impl Send for HttpMethodMatch
impl Sync for HttpMethodMatch
impl Unpin for HttpMethodMatch
impl UnwindSafe for HttpMethodMatch
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