pub struct AuthService { /* private fields */ }Implementations§
Source§impl AuthService
impl AuthService
pub fn with_config(service: ServiceConfig<Authenticated>) -> AuthService
Source§impl AuthService
impl AuthService
pub async fn create(&self, data: CreateAuthRequest) -> Result<Auth>
Auto Trait Implementations§
impl Freeze for AuthService
impl RefUnwindSafe for AuthService
impl Send for AuthService
impl Sync for AuthService
impl Unpin for AuthService
impl UnwindSafe for AuthService
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