pub struct AdminSite { /* private fields */ }Expand description
Main entry point for configuring the admin site.
Implementations§
Source§impl AdminSite
impl AdminSite
Sourcepub fn with_user_store(self, store: Arc<dyn UserStore>) -> Self
pub fn with_user_store(self, store: Arc<dyn UserStore>) -> Self
Provide a UserStore for authentication (required for login to work).
Sourcepub fn mount(self, cfg: &mut ServiceConfig, registry: AdminRegistry)
pub fn mount(self, cfg: &mut ServiceConfig, registry: AdminRegistry)
Mount the admin site onto an Actix-Web application.
Auto Trait Implementations§
impl Freeze for AdminSite
impl !RefUnwindSafe for AdminSite
impl Send for AdminSite
impl Sync for AdminSite
impl Unpin for AdminSite
impl UnsafeUnpin for AdminSite
impl !UnwindSafe for AdminSite
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