Struct twilight_http::request::user::GetCurrentUserGuildMember
source · pub struct GetCurrentUserGuildMember<'a> { /* private fields */ }
Expand description
Get information about the current user in a guild.
Implementations§
source§impl<'a> GetCurrentUserGuildMember<'a>
impl<'a> GetCurrentUserGuildMember<'a>
pub fn exec(self) -> ResponseFuture<Member> ⓘ
👎Deprecated since 0.14.0: use
.await
or into_future
insteadTrait Implementations§
source§impl IntoFuture for GetCurrentUserGuildMember<'_>
impl IntoFuture for GetCurrentUserGuildMember<'_>
§type Output = Result<Response<Member>, Error>
type Output = Result<Response<Member>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<Member>
type IntoFuture = ResponseFuture<Member>
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 GetCurrentUserGuildMember<'_>
impl TryIntoRequest for GetCurrentUserGuildMember<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetCurrentUserGuildMember<'a>
impl<'a> Send for GetCurrentUserGuildMember<'a>
impl<'a> Sync for GetCurrentUserGuildMember<'a>
impl<'a> Unpin for GetCurrentUserGuildMember<'a>
impl<'a> !UnwindSafe for GetCurrentUserGuildMember<'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