pub struct GetBan<'a> { /* private fields */ }
Expand description
Get information about a ban of a guild.
Includes the user banned and the reason.
Implementations
sourceimpl<'a> GetBan<'a>
impl<'a> GetBan<'a>
sourcepub fn exec(self) -> ResponseFuture<Ban>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<Ban>ⓘ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 GetBan<'_>
impl TryIntoRequest for GetBan<'_>
Auto Trait Implementations
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
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