pub struct GetOwnData<'a> { /* private fields */ }Expand description
Get the UserExtended of the authenticated user.
Note that the client has to be initialized with the Identify scope
through the OAuth process in order for this endpoint to not return an error.
Implementations§
Trait Implementations§
Source§impl IntoFuture for GetOwnData<'_>
impl IntoFuture for GetOwnData<'_>
Source§type Output = Result<UserExtended, OsuError>
type Output = Result<UserExtended, OsuError>
The output that the future will produce on completion.
Source§type IntoFuture = OsuFuture<GetOwnData<'_>>
type IntoFuture = OsuFuture<GetOwnData<'_>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for GetOwnData<'a>
impl<'a> !RefUnwindSafe for GetOwnData<'a>
impl<'a> Send for GetOwnData<'a>
impl<'a> Sync for GetOwnData<'a>
impl<'a> Unpin for GetOwnData<'a>
impl<'a> !UnwindSafe for GetOwnData<'a>
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