Struct twilight_http::request::application::command::GetGuildCommands [−][src]
pub struct GetGuildCommands<'a> { /* fields omitted */ }
Expand description
Fetch all commands for a guild, by ID.
Implementations
pub fn exec(self) -> ResponseFuture<ListBody<Command>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<ListBody<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
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetGuildCommands<'a>
impl<'a> Send for GetGuildCommands<'a>
impl<'a> Sync for GetGuildCommands<'a>
impl<'a> Unpin for GetGuildCommands<'a>
impl<'a> !UnwindSafe for GetGuildCommands<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more