Struct twilight_http::request::application::command::GetCommandPermissions
source · [−]pub struct GetCommandPermissions<'a> { /* private fields */ }
Expand description
Fetch command permissions for a command from the current application in a guild.
Implementations
sourceimpl<'a> GetCommandPermissions<'a>
impl<'a> GetCommandPermissions<'a>
sourcepub fn exec(self) -> ResponseFuture<GuildCommandPermissions>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<GuildCommandPermissions>ⓘ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 GetCommandPermissions<'_>
impl TryIntoRequest for GetCommandPermissions<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetCommandPermissions<'a>
impl<'a> Send for GetCommandPermissions<'a>
impl<'a> Sync for GetCommandPermissions<'a>
impl<'a> Unpin for GetCommandPermissions<'a>
impl<'a> !UnwindSafe for GetCommandPermissions<'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