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