pub struct Authorizer { /* private fields */ }
Implementations§
Source§impl Authorizer
impl Authorizer
pub fn builder() -> AuthorizerBuilder
pub async fn get_token( &self, api_id: &str, email_or_phone: &str, password: &str, ) -> Result<AccessToken>
Trait Implementations§
Source§impl Clone for Authorizer
impl Clone for Authorizer
Source§fn clone(&self) -> Authorizer
fn clone(&self) -> Authorizer
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 Authorizer
impl !RefUnwindSafe for Authorizer
impl Send for Authorizer
impl Sync for Authorizer
impl Unpin for Authorizer
impl !UnwindSafe for Authorizer
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