pub struct DeleteGuildScheduledEvent<'a> { /* private fields */ }
Expand description
Delete a scheduled event in a guild.
Examples
let guild_id = Id::new(1);
let scheduled_event_id = Id::new(2);
client
.delete_guild_scheduled_event(guild_id, scheduled_event_id)
.exec()
.await?;
Implementations
sourceimpl<'a> DeleteGuildScheduledEvent<'a>
impl<'a> DeleteGuildScheduledEvent<'a>
sourcepub fn exec(self) -> ResponseFuture<GuildScheduledEvent>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<GuildScheduledEvent>ⓘ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 DeleteGuildScheduledEvent<'_>
impl TryIntoRequest for DeleteGuildScheduledEvent<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DeleteGuildScheduledEvent<'a>
impl<'a> Send for DeleteGuildScheduledEvent<'a>
impl<'a> Sync for DeleteGuildScheduledEvent<'a>
impl<'a> Unpin for DeleteGuildScheduledEvent<'a>
impl<'a> !UnwindSafe for DeleteGuildScheduledEvent<'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