pub struct RouteSnapshot {
pub method: String,
pub path: &'static str,
pub request_type: &'static str,
pub response_type: &'static str,
pub has_handler: bool,
}Expand description
Snapshot of a registered HTTP route.
Fields§
§method: String§path: &'static str§request_type: &'static str§response_type: &'static str§has_handler: boolTrait Implementations§
Source§impl Clone for RouteSnapshot
impl Clone for RouteSnapshot
Source§fn clone(&self) -> RouteSnapshot
fn clone(&self) -> RouteSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RouteSnapshot
impl RefUnwindSafe for RouteSnapshot
impl Send for RouteSnapshot
impl Sync for RouteSnapshot
impl Unpin for RouteSnapshot
impl UnsafeUnpin for RouteSnapshot
impl UnwindSafe for RouteSnapshot
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