pub struct PluginRoute {
pub method: String,
pub path: String,
pub handler: RouteHandler,
}Expand description
A custom route registered by a plugin.
Fields§
§method: String§path: String§handler: RouteHandlerAuto Trait Implementations§
impl Freeze for PluginRoute
impl !RefUnwindSafe for PluginRoute
impl Send for PluginRoute
impl Sync for PluginRoute
impl Unpin for PluginRoute
impl UnsafeUnpin for PluginRoute
impl !UnwindSafe for PluginRoute
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