Struct twilight_http::request::application::command::DeleteGuildCommand
source · pub struct DeleteGuildCommand<'a> { /* private fields */ }
Expand description
Delete a command in a guild, by ID.
Implementations§
source§impl<'a> DeleteGuildCommand<'a>
impl<'a> DeleteGuildCommand<'a>
pub fn exec(self) -> ResponseFuture<EmptyBody> ⓘ
👎Deprecated since 0.14.0: use
.await
or into_future
insteadTrait Implementations§
source§impl IntoFuture for DeleteGuildCommand<'_>
impl IntoFuture for DeleteGuildCommand<'_>
§type Output = Result<Response<EmptyBody>, Error>
type Output = Result<Response<EmptyBody>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<EmptyBody>
type IntoFuture = ResponseFuture<EmptyBody>
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