Struct twilight_http::request::application::command::GetGuildCommand
source · [−]pub struct GetGuildCommand<'a> { /* private fields */ }
Expand description
Retrieve a global command for an application.
Implementations
sourceimpl<'a> GetGuildCommand<'a>
impl<'a> GetGuildCommand<'a>
sourcepub 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>;
Execute the request, returning a future resolving to a Response
.
Trait Implementations
sourceimpl TryIntoRequest for GetGuildCommand<'_>
impl TryIntoRequest for GetGuildCommand<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetGuildCommand<'a>
impl<'a> Send for GetGuildCommand<'a>
impl<'a> Sync for GetGuildCommand<'a>
impl<'a> Unpin for GetGuildCommand<'a>
impl<'a> !UnwindSafe for GetGuildCommand<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more