pub struct Route {
pub http_method: String,
pub path: String,
pub handler_name: String,
pub class_name: String,
pub file: String,
pub line: usize,
}Expand description
A route extracted from a Laravel routes/*.php file.
Fields§
§http_method: String§path: String§handler_name: String§class_name: String§file: String§line: usizeTrait Implementations§
impl StructuralPartialEq for Route
Auto Trait Implementations§
impl Freeze for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
impl UnwindSafe for Route
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