Struct twilight_http::request::channel::webhook::DeleteWebhook [−][src]
pub struct DeleteWebhook<'a> { /* fields omitted */ }Expand description
Delete a webhook by its ID.
Implementations
Specify the token for auth, if not already authenticated with a Bot token.
pub 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>;
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
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DeleteWebhook<'a>
impl<'a> Send for DeleteWebhook<'a>
impl<'a> Sync for DeleteWebhook<'a>
impl<'a> Unpin for DeleteWebhook<'a>
impl<'a> !UnwindSafe for DeleteWebhook<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more