pub enum AppRoute<'a> {
Show 29 variants
Home,
Login,
Register,
Logout,
Search,
Notifications,
Releases,
Branches,
Tags,
Commits {
rev: Option<&'a str>,
},
Commit {
oid: &'a str,
},
Compare {
spec: Option<&'a str>,
},
Tree {
rev: &'a str,
path: &'a str,
},
Blob {
rev: &'a str,
path: &'a str,
},
Issues {
state: Option<&'a str>,
label: Option<&'a str>,
},
IssueDetail {
id: u64,
},
Pulls,
PullNew,
PullDetail {
branch: &'a str,
},
Actions,
ActionRun {
id: u64,
},
Projects,
Wiki {
slug: Option<&'a str>,
},
Security,
Insights,
Settings {
section: Option<&'a str>,
},
Admin,
Agents,
Custom(&'a str),
}Expand description
Typed application routes generating percent-encoded, mount-aware URLs.
Variants§
Home
Login
Register
Logout
Search
Notifications
Releases
Branches
Tags
Commits
Commit
Compare
Tree
Blob
Issues
IssueDetail
Pulls
PullNew
PullDetail
Actions
ActionRun
Projects
Wiki
Security
Insights
Settings
Admin
Agents
Custom(&'a str)
Extension path (e.g. v2.0 "/graph", "/stacks", "/agents/topology").
Implementations§
Trait Implementations§
impl<'a> Copy for AppRoute<'a>
impl<'a> Eq for AppRoute<'a>
impl<'a> StructuralPartialEq for AppRoute<'a>
Auto Trait Implementations§
impl<'a> Forget for AppRoute<'a>
impl<'a> Freeze for AppRoute<'a>
impl<'a> Move for AppRoute<'a>
impl<'a> RefUnwindSafe for AppRoute<'a>
impl<'a> Send for AppRoute<'a>
impl<'a> Sync for AppRoute<'a>
impl<'a> Unpin for AppRoute<'a>
impl<'a> UnsafeUnpin for AppRoute<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for AppRoute<'a>where
&'a str: UnwindSafe,
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