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>
Trait Implementations
sourceimpl IntoFuture for GetChannelInvites<'_>
impl IntoFuture for GetChannelInvites<'_>
type Output = Result<Response<ListBody<Invite>>, Error>
type Output = Result<Response<ListBody<Invite>>, Error>
The output that the future will produce on completion.
type IntoFuture = ResponseFuture<ListBody<Invite>>
type IntoFuture = ResponseFuture<ListBody<Invite>>
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 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