Struct twilight_http::request::channel::invite::GetChannelInvites
source · [−]pub struct GetChannelInvites<'a> { /* private fields */ }
Expand description
Get the invites for a guild channel.
Requires the MANAGE_CHANNELS
permission. This method only works if the
channel is a guild channel.
Implementations
sourceimpl<'a> GetChannelInvites<'a>
impl<'a> GetChannelInvites<'a>
sourcepub fn exec(self) -> ResponseFuture<ListBody<Invite>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<ListBody<Invite>>ⓘ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 GetChannelInvites<'_>
impl TryIntoRequest for GetChannelInvites<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetChannelInvites<'a>
impl<'a> Send for GetChannelInvites<'a>
impl<'a> Sync for GetChannelInvites<'a>
impl<'a> Unpin for GetChannelInvites<'a>
impl<'a> !UnwindSafe for GetChannelInvites<'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