Struct twilight_http::request::guild::DeleteGuild
source · [−]pub struct DeleteGuild<'a> { /* private fields */ }
Expand description
Delete a guild permanently. The user must be the owner.
Implementations
sourceimpl<'a> DeleteGuild<'a>
impl<'a> DeleteGuild<'a>
sourcepub fn exec(self) -> ResponseFuture<EmptyBody>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<EmptyBody>ⓘ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 DeleteGuild<'_>
impl TryIntoRequest for DeleteGuild<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DeleteGuild<'a>
impl<'a> Send for DeleteGuild<'a>
impl<'a> Sync for DeleteGuild<'a>
impl<'a> Unpin for DeleteGuild<'a>
impl<'a> !UnwindSafe for DeleteGuild<'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