pub struct ListedRoute {
pub mount: String,
pub method: String,
pub path: String,
pub handler: String,
pub permission: Option<String>,
}Expand description
A row of a package’s ROUTES table, kept when its features are on.
Fields§
§mount: String§method: String§path: String§handler: String§permission: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ListedRoute
impl Clone for ListedRoute
Source§impl Debug for ListedRoute
impl Debug for ListedRoute
impl Eq for ListedRoute
Source§impl PartialEq for ListedRoute
impl PartialEq for ListedRoute
impl StructuralPartialEq for ListedRoute
Auto Trait Implementations§
impl Forget for ListedRoute
impl Freeze for ListedRoute
impl RefUnwindSafe for ListedRoute
impl Send for ListedRoute
impl Sync for ListedRoute
impl Unpin for ListedRoute
impl UnsafeUnpin for ListedRoute
impl UnwindSafe for ListedRoute
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