pub struct CheckToken { /* private fields */ }
Expand description
Check the session token and get additional user information.
Makes a request to POST /auth/check
.
Implementations§
Source§impl CheckToken
impl CheckToken
Sourcepub async fn send(&self) -> Result<CheckTokenResponse>
pub async fn send(&self) -> Result<CheckTokenResponse>
Send the request.
Trait Implementations§
Source§impl Clone for CheckToken
impl Clone for CheckToken
Source§fn clone(&self) -> CheckToken
fn clone(&self) -> CheckToken
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 moreSource§impl Debug for CheckToken
impl Debug for CheckToken
Auto Trait Implementations§
impl Freeze for CheckToken
impl !RefUnwindSafe for CheckToken
impl !Send for CheckToken
impl !Sync for CheckToken
impl Unpin for CheckToken
impl !UnwindSafe for CheckToken
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