Struct twilight_http::request::user::GetCurrentUserConnections [−][src]
pub struct GetCurrentUserConnections<'a> { /* fields omitted */ }
Expand description
Get the current user’s connections.
Requires the connections
OAuth2
scope.
Implementations
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>;
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>;
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
.
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
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more