Struct twilight_http::request::channel::invite::GetChannelInvites [−][src]
pub struct GetChannelInvites<'a> { /* fields omitted */ }Expand description
Get the invites for a guild channel.
Requires the MANAGE_CHANNELS permission. This method only works if the
channel is of type GuildChannel.
Implementations
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>;
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>;
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.