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 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<'a, Xvc> Freeze for AuthClient<'a, Xvc>where
Xvc: Freeze,
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