pub struct RouteDef {
pub method: &'static str,
pub path: &'static str,
pub handler: &'static str,
}Expand description
Re-exported public API.
Public Caelix type RouteDef.
Fields§
§method: &'static strThe method value.
path: &'static strThe path value.
handler: &'static strThe handler value.
Trait Implementations§
impl Copy for RouteDef
impl Eq for RouteDef
impl StructuralPartialEq for RouteDef
Auto Trait Implementations§
impl Freeze for RouteDef
impl RefUnwindSafe for RouteDef
impl Send for RouteDef
impl Sync for RouteDef
impl Unpin for RouteDef
impl UnsafeUnpin for RouteDef
impl UnwindSafe for RouteDef
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