pub struct GetBan<'a> { /* private fields */ }
Expand description
Get information about a ban of a guild.
Includes the user banned and the reason.
Trait Implementations§
source§impl IntoFuture for GetBan<'_>
impl IntoFuture for GetBan<'_>
source§type Output = Result<Response<Ban>, Error>
type Output = Result<Response<Ban>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<Ban>
type IntoFuture = ResponseFuture<Ban>
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
Auto Trait Implementations§
impl<'a> Freeze for GetBan<'a>
impl<'a> !RefUnwindSafe for GetBan<'a>
impl<'a> Send for GetBan<'a>
impl<'a> Sync for GetBan<'a>
impl<'a> Unpin for GetBan<'a>
impl<'a> !UnwindSafe for GetBan<'a>
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