pub struct RouteChainEntry {
pub component: String,
pub path: String,
pub params: HashMap<String, String>,
pub exact: bool,
pub allowed_query: String,
}Expand description
A single entry in the matched route chain, one per nesting level.
Fields§
§component: StringComponent tag name for this route level.
path: StringThe route path pattern (as declared in the template).
params: HashMap<String, String>Bound route parameters at this level.
exact: boolWhether this route requires an exact match.
allowed_query: StringComma-separated allowlist of query parameters forwarded as attributes.
Implementations§
Trait Implementations§
Source§impl Clone for RouteChainEntry
impl Clone for RouteChainEntry
Source§fn clone(&self) -> RouteChainEntry
fn clone(&self) -> RouteChainEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RouteChainEntry
impl RefUnwindSafe for RouteChainEntry
impl Send for RouteChainEntry
impl Sync for RouteChainEntry
impl Unpin for RouteChainEntry
impl UnsafeUnpin for RouteChainEntry
impl UnwindSafe for RouteChainEntry
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