Struct twilight_http::request::user::GetCurrentUserConnections
source · [−]pub struct GetCurrentUserConnections<'a> { /* private fields */ }
Expand description
Get the current user’s connections.
Requires the connections
OAuth2
scope.
Implementations
sourceimpl<'a> GetCurrentUserConnections<'a>
impl<'a> GetCurrentUserConnections<'a>
sourcepub fn exec(self) -> ResponseFuture<ListBody<Connection>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<ListBody<Connection>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Execute the request, returning a future resolving to a Response
.
Trait Implementations
sourceimpl TryIntoRequest for GetCurrentUserConnections<'_>
impl TryIntoRequest for GetCurrentUserConnections<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetCurrentUserConnections<'a>
impl<'a> Send for GetCurrentUserConnections<'a>
impl<'a> Sync for GetCurrentUserConnections<'a>
impl<'a> Unpin for GetCurrentUserConnections<'a>
impl<'a> !UnwindSafe for GetCurrentUserConnections<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more