pub struct UpdateCommandPermissions<'a> { /* private fields */ }
Expand description
Update command permissions for a single command in a guild.
Note that this overwrites the command permissions, so the full set of permissions has to be sent every time.
This request requires that the client was configured with an OAuth2 Bearer token.
Trait Implementations§
source§impl IntoFuture for UpdateCommandPermissions<'_>
impl IntoFuture for UpdateCommandPermissions<'_>
source§type Output = Result<Response<ListBody<CommandPermission>>, Error>
type Output = Result<Response<ListBody<CommandPermission>>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<ListBody<CommandPermission>>
type IntoFuture = ResponseFuture<ListBody<CommandPermission>>
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
source§impl TryIntoRequest for UpdateCommandPermissions<'_>
impl TryIntoRequest for UpdateCommandPermissions<'_>
Auto Trait Implementations§
impl<'a> Freeze for UpdateCommandPermissions<'a>
impl<'a> !RefUnwindSafe for UpdateCommandPermissions<'a>
impl<'a> Send for UpdateCommandPermissions<'a>
impl<'a> Sync for UpdateCommandPermissions<'a>
impl<'a> Unpin for UpdateCommandPermissions<'a>
impl<'a> !UnwindSafe for UpdateCommandPermissions<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more