Struct twilight_http::request::channel::invite::DeleteInvite
source · pub struct DeleteInvite<'a> { /* private fields */ }
Expand description
Delete an invite by its code.
Requires the MANAGE_CHANNELS
permission on the channel this invite
belongs to, or MANAGE_GUILD
to remove any invite across the guild.
Implementations
sourceimpl<'a> DeleteInvite<'a>
impl<'a> DeleteInvite<'a>
Trait Implementations
sourceimpl<'a> AuditLogReason<'a> for DeleteInvite<'a>
impl<'a> AuditLogReason<'a> for DeleteInvite<'a>
sourceimpl IntoFuture for DeleteInvite<'_>
impl IntoFuture for DeleteInvite<'_>
type Output = Result<Response<EmptyBody>, Error>
type Output = Result<Response<EmptyBody>, Error>
The output that the future will produce on completion.
type IntoFuture = ResponseFuture<EmptyBody>
type IntoFuture = ResponseFuture<EmptyBody>
Which kind of future are we turning this into?
sourcefn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
sourceimpl TryIntoRequest for DeleteInvite<'_>
impl TryIntoRequest for DeleteInvite<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DeleteInvite<'a>
impl<'a> Send for DeleteInvite<'a>
impl<'a> Sync for DeleteInvite<'a>
impl<'a> Unpin for DeleteInvite<'a>
impl<'a> !UnwindSafe for DeleteInvite<'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