Struct twilight_http::request::channel::message::DeleteMessage
source · [−]pub struct DeleteMessage<'a> { /* private fields */ }
Expand description
Delete a message by Id<ChannelMarker>
and Id<MessageMarker>
.
Implementations
sourceimpl<'a> DeleteMessage<'a>
impl<'a> DeleteMessage<'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<'a> AuditLogReason<'a> for DeleteMessage<'a>
impl<'a> AuditLogReason<'a> for DeleteMessage<'a>
sourceimpl TryIntoRequest for DeleteMessage<'_>
impl TryIntoRequest for DeleteMessage<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DeleteMessage<'a>
impl<'a> Send for DeleteMessage<'a>
impl<'a> Sync for DeleteMessage<'a>
impl<'a> Unpin for DeleteMessage<'a>
impl<'a> !UnwindSafe for DeleteMessage<'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