Struct lexa_framework::routing::Route
source · pub struct Route<UserState> {
pub name: Option<String>,
pub methods: HashSet<Method>,
pub fullpath: String,
/* private fields */
}
Fields§
§name: Option<String>
Nom de la route.
methods: HashSet<Method>
Méthodes HTTP.
fullpath: String
Chemin complet de la route, en omettant le protocol/schema.
Trait Implementations§
Auto Trait Implementations§
impl<UserState> !RefUnwindSafe for Route<UserState>
impl<UserState> Send for Route<UserState>
impl<UserState> !Sync for Route<UserState>
impl<UserState> Unpin for Route<UserState>
impl<UserState> !UnwindSafe for Route<UserState>
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