pub struct GetFriends<'a> { /* private fields */ }Expand description
Get all friends of the authenticated user as a vec of User.
Note that the client has to be initialized with the FriendsRead scope
through the OAuth process in order for this endpoint to not return an error.
Trait Implementations§
Source§impl IntoFuture for GetFriends<'_>
impl IntoFuture for GetFriends<'_>
Source§type Output = Result<Vec<User>, OsuError>
type Output = Result<Vec<User>, OsuError>
The output that the future will produce on completion.
Source§type IntoFuture = OsuFuture<GetFriends<'_>>
type IntoFuture = OsuFuture<GetFriends<'_>>
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 GetFriends<'a>
impl<'a> !RefUnwindSafe for GetFriends<'a>
impl<'a> Send for GetFriends<'a>
impl<'a> Sync for GetFriends<'a>
impl<'a> Unpin for GetFriends<'a>
impl<'a> !UnwindSafe for GetFriends<'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