Struct talk_api_internal::auth::client::AuthClient
source · pub struct AuthClient<'a, Xvc> {
pub device: Device<'a>,
pub xvc: Xvc,
/* private fields */
}
Fields§
§device: Device<'a>
§xvc: Xvc
Implementations§
source§impl<'a, Xvc: XvcHasher> AuthClient<'a, Xvc>
impl<'a, Xvc: XvcHasher> AuthClient<'a, Xvc>
pub const fn new( device: Device<'a>, xvc: Xvc, inner: TalkHttpClient<'a> ) -> Self
pub fn request( self, method: Method, end_point: &str, email: &str ) -> RequestResult<RequestBuilder>
Trait Implementations§
source§impl<'a, Xvc: Clone> Clone for AuthClient<'a, Xvc>
impl<'a, Xvc: Clone> Clone for AuthClient<'a, Xvc>
source§fn clone(&self) -> AuthClient<'a, Xvc>
fn clone(&self) -> AuthClient<'a, Xvc>
Returns a copy 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<'a, Xvc> !RefUnwindSafe for AuthClient<'a, Xvc>
impl<'a, Xvc> Send for AuthClient<'a, Xvc>where
Xvc: Send,
impl<'a, Xvc> Sync for AuthClient<'a, Xvc>where
Xvc: Sync,
impl<'a, Xvc> Unpin for AuthClient<'a, Xvc>where
Xvc: Unpin,
impl<'a, Xvc> !UnwindSafe for AuthClient<'a, Xvc>
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