pub struct DiscoveredRoute {
pub file: PathBuf,
pub pattern: String,
pub module: String,
pub is_layout: bool,
}Fields§
§file: PathBufAbsolute filesystem path to the route file.
pattern: StringURL pattern such as /users/:id.
module: StringModule path used by the generated registry (e.g. users::index).
is_layout: booltrue if this is a layout file (_layout.rs / layout.rs).
Trait Implementations§
Source§impl Clone for DiscoveredRoute
impl Clone for DiscoveredRoute
Source§fn clone(&self) -> DiscoveredRoute
fn clone(&self) -> DiscoveredRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiscoveredRoute
impl Debug for DiscoveredRoute
Auto Trait Implementations§
impl Freeze for DiscoveredRoute
impl RefUnwindSafe for DiscoveredRoute
impl Send for DiscoveredRoute
impl Sync for DiscoveredRoute
impl Unpin for DiscoveredRoute
impl UnsafeUnpin for DiscoveredRoute
impl UnwindSafe for DiscoveredRoute
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