Struct twilight_http::request::GetUserApplicationInfo
source · pub struct GetUserApplicationInfo<'a> { /* private fields */ }
Implementations§
source§impl<'a> GetUserApplicationInfo<'a>
impl<'a> GetUserApplicationInfo<'a>
sourcepub fn exec(self) -> ResponseFuture<Application> ⓘ
👎Deprecated since 0.14.0: use .await
or into_future
instead
pub fn exec(self) -> ResponseFuture<Application> ⓘ
.await
or into_future
insteadExecute the request, returning a future resolving to a Response
.
Trait Implementations§
source§impl IntoFuture for GetUserApplicationInfo<'_>
impl IntoFuture for GetUserApplicationInfo<'_>
§type Output = Result<Response<Application>, Error>
type Output = Result<Response<Application>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<Application>
type IntoFuture = ResponseFuture<Application>
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
source§impl TryIntoRequest for GetUserApplicationInfo<'_>
impl TryIntoRequest for GetUserApplicationInfo<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetUserApplicationInfo<'a>
impl<'a> Send for GetUserApplicationInfo<'a>
impl<'a> Sync for GetUserApplicationInfo<'a>
impl<'a> Unpin for GetUserApplicationInfo<'a>
impl<'a> !UnwindSafe for GetUserApplicationInfo<'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