pub struct MwEntry {
pub name: String,
pub mw: Middleware,
}Expand description
Named middleware entry used for crate::Router::explain.
Fields§
§name: String§mw: MiddlewareTrait Implementations§
Source§impl IntoMwEntry for MwEntry
impl IntoMwEntry for MwEntry
fn into_mw_entry(self) -> MwEntry
Auto Trait Implementations§
impl !RefUnwindSafe for MwEntry
impl !UnwindSafe for MwEntry
impl Freeze for MwEntry
impl Send for MwEntry
impl Sync for MwEntry
impl Unpin for MwEntry
impl UnsafeUnpin for MwEntry
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