pub struct GetGuildCommandPermissions<'a> { /* private fields */ }
Expand description
Get command permissions for all commands from the current application in a guild.
Implementations§
source§impl<'a> GetGuildCommandPermissions<'a>
impl<'a> GetGuildCommandPermissions<'a>
sourcepub fn exec(self) -> ResponseFuture<ListBody<GuildCommandPermissions>> ⓘ
👎Deprecated since 0.14.0: use .await
or into_future
instead
pub fn exec(self) -> ResponseFuture<ListBody<GuildCommandPermissions>> ⓘ
.await
or into_future
insteadExecute the request, returning a future resolving to a Response
.
Trait Implementations§
source§impl IntoFuture for GetGuildCommandPermissions<'_>
impl IntoFuture for GetGuildCommandPermissions<'_>
§type Output = Result<Response<ListBody<GuildCommandPermissions>>, Error>
type Output = Result<Response<ListBody<GuildCommandPermissions>>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<ListBody<GuildCommandPermissions>>
type IntoFuture = ResponseFuture<ListBody<GuildCommandPermissions>>
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 GetGuildCommandPermissions<'_>
impl TryIntoRequest for GetGuildCommandPermissions<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetGuildCommandPermissions<'a>
impl<'a> Send for GetGuildCommandPermissions<'a>
impl<'a> Sync for GetGuildCommandPermissions<'a>
impl<'a> Unpin for GetGuildCommandPermissions<'a>
impl<'a> !UnwindSafe for GetGuildCommandPermissions<'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