Struct twilight_http::request::channel::thread::GetThreadMembers
source · pub struct GetThreadMembers<'a> { /* private fields */ }
Expand description
Returns the ThreadMember
s of the thread.
Implementations§
source§impl<'a> GetThreadMembers<'a>
impl<'a> GetThreadMembers<'a>
sourcepub fn exec(self) -> ResponseFuture<ListBody<ThreadMember>> ⓘ
👎Deprecated since 0.14.0: use .await
or into_future
instead
pub fn exec(self) -> ResponseFuture<ListBody<ThreadMember>> ⓘ
.await
or into_future
insteadExecute the request, returning a future resolving to a Response
.
Trait Implementations§
source§impl IntoFuture for GetThreadMembers<'_>
impl IntoFuture for GetThreadMembers<'_>
§type Output = Result<Response<ListBody<ThreadMember>>, Error>
type Output = Result<Response<ListBody<ThreadMember>>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<ListBody<ThreadMember>>
type IntoFuture = ResponseFuture<ListBody<ThreadMember>>
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