pub struct WebRoute {
pub method: WebMethod,
pub path: String,
pub auth: AuthRule,
pub invoke: Arc<dyn Fn() -> WebRouteFuture + Send + Sync>,
}Fields§
§method: WebMethod§path: String§auth: AuthRule§invoke: Arc<dyn Fn() -> WebRouteFuture + Send + Sync>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WebRoute
impl !UnwindSafe for WebRoute
impl Freeze for WebRoute
impl Send for WebRoute
impl Sync for WebRoute
impl Unpin for WebRoute
impl UnsafeUnpin for WebRoute
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