pub struct MiddlewareInfo {
pub name: String,
pub route_specific: bool,
pub order: usize,
}Expand description
Information about middleware that will be applied.
Fields§
§name: StringMiddleware name.
route_specific: boolWhether this middleware is route-specific.
order: usizeOrder in the middleware stack.
Implementations§
Trait Implementations§
Source§impl Clone for MiddlewareInfo
impl Clone for MiddlewareInfo
Auto Trait Implementations§
impl Forget for MiddlewareInfo
impl Freeze for MiddlewareInfo
impl Move for MiddlewareInfo
impl RefUnwindSafe for MiddlewareInfo
impl Send for MiddlewareInfo
impl Sync for MiddlewareInfo
impl Unpin for MiddlewareInfo
impl UnsafeUnpin for MiddlewareInfo
impl UnwindSafe for MiddlewareInfo
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