Struct twilight_http::request::application::UpdateGlobalCommand [−][src]
pub struct UpdateGlobalCommand<'a> { /* fields omitted */ }
Expand description
Edit a global command, by ID.
You must specify a name and description. See the discord docs for more information.
Implementations
Edit the description of the command.
Edit the command options of the command.
pub fn exec(self) -> ResponseFuture<Command>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<Command>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Notable traits for ResponseFuture<T>
impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Execute the request, returning a future resolving to a Response
.