pub enum ShellKind<'a> {
Repo {
header: RepoHeaderView<'a>,
tab: RepoTab,
extra_tabs: &'a [NavTab<'a>],
},
MultiRepoRoot {
repo_count: Option<usize>,
},
MinimalAuth,
}Expand description
Top-level layout chrome variant rendered by respond_page.
Variants§
Repo
Repository forge chrome (topbar, clone popover, 9 standard tabs + optional extra_tabs).
MultiRepoRoot
Multi-repo server dashboard chrome (arks serve --root).
MinimalAuth
Minimal centered authentication shell (/login, /register).
Auto Trait Implementations§
impl<'a> Forget for ShellKind<'a>
impl<'a> Freeze for ShellKind<'a>
impl<'a> Move for ShellKind<'a>
impl<'a> RefUnwindSafe for ShellKind<'a>
impl<'a> Send for ShellKind<'a>
impl<'a> Sync for ShellKind<'a>
impl<'a> Unpin for ShellKind<'a>
impl<'a> UnsafeUnpin for ShellKind<'a>
impl<'a> UnwindSafe for ShellKind<'a>
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