pub struct PluginMiddleware {
pub path: String,
pub handler: PluginMiddlewareHandler,
}Fields§
§path: String§handler: PluginMiddlewareHandlerTrait Implementations§
Source§impl Clone for PluginMiddleware
impl Clone for PluginMiddleware
Source§fn clone(&self) -> PluginMiddleware
fn clone(&self) -> PluginMiddleware
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 PluginMiddleware
impl !RefUnwindSafe for PluginMiddleware
impl Send for PluginMiddleware
impl Sync for PluginMiddleware
impl Unpin for PluginMiddleware
impl UnsafeUnpin for PluginMiddleware
impl !UnwindSafe for PluginMiddleware
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