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.
Trait Implementations§
Source§impl<'a> AuditLogReason<'a> for DeleteInvite<'a>
impl<'a> AuditLogReason<'a> for DeleteInvite<'a>
Source§impl IntoFuture for DeleteInvite<'_>
impl IntoFuture for DeleteInvite<'_>
Source§type Output = Result<Response<EmptyBody>, Error>
type Output = Result<Response<EmptyBody>, Error>
The output that the future will produce on completion.
Source§type IntoFuture = ResponseFuture<EmptyBody>
type IntoFuture = ResponseFuture<EmptyBody>
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 DeleteInvite<'_>
impl TryIntoRequest for DeleteInvite<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DeleteInvite<'a>
impl<'a> !UnwindSafe for DeleteInvite<'a>
impl<'a> Forget for DeleteInvite<'a>
impl<'a> Freeze for DeleteInvite<'a>
impl<'a> Move for DeleteInvite<'a>
impl<'a> Send for DeleteInvite<'a>
impl<'a> Sync for DeleteInvite<'a>where
RawVecInner: Sync,
NonZero<u64>: Sync,
BoxRaw<[Pos]>: Sync,
Bytes: Sync,
Arc<Config>: Sync,
Arc<Resolver<GenericConnector<TokioRuntimeProvider>>>: Sync,
Arc<ClientConfig>: Sync,
Arc<dyn ResolveServerName + Send + Sync>: Sync,
Arc<dyn Executor<Pin<Box<dyn Future<Output = ()> + Send>>> + Send + Sync>: Sync,
Arc<dyn Timer + Send + Sync>: Sync,
Arc<Mutex<PoolInner<PoolClient<Full<Bytes>>, (Scheme, Authority)>>>: Sync,
BoxRaw<str>: Sync,
Arc<Chan<(Message, Option<Box<dyn FnOnce(Option<Bucket>) -> bool + Send>>), Semaphore>>: Sync,
Arc<Atomic<bool>>: Sync,
NonZero<i32>: Sync,
impl<'a> Unpin for DeleteInvite<'a>
impl<'a> UnsafeUnpin for DeleteInvite<'a>where
&'a str: UnsafeUnpin,
&'a Client: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
&'static str: UnsafeUnpin,
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