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