pub struct GetMember<'a> { /* private fields */ }
Expand description
Get a member of a guild, by id.
Implementations
sourceimpl<'a> GetMember<'a>
impl<'a> GetMember<'a>
sourcepub fn exec(self) -> ResponseFuture<MemberBody> ⓘ
👎Deprecated since 0.14.0: use .await
or into_future
instead
pub fn exec(self) -> ResponseFuture<MemberBody> ⓘ
.await
or into_future
insteadExecute the request, returning a future resolving to a Response
.
Trait Implementations
sourceimpl IntoFuture for GetMember<'_>
impl IntoFuture for GetMember<'_>
type Output = Result<Response<MemberBody>, Error>
type Output = Result<Response<MemberBody>, Error>
The output that the future will produce on completion.
type IntoFuture = ResponseFuture<MemberBody>
type IntoFuture = ResponseFuture<MemberBody>
Which kind of future are we turning this into?
sourcefn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
sourceimpl TryIntoRequest for GetMember<'_>
impl TryIntoRequest for GetMember<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetMember<'a>
impl<'a> Send for GetMember<'a>
impl<'a> Sync for GetMember<'a>
impl<'a> Unpin for GetMember<'a>
impl<'a> !UnwindSafe for GetMember<'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