twilight_model/gateway/payload/incoming/
guild_scheduled_event_delete.rsuse crate::guild::scheduled_event::GuildScheduledEvent;
use serde::{Deserialize, Serialize};
use std::ops::{Deref, DerefMut};
#[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)]
pub struct GuildScheduledEventDelete(pub GuildScheduledEvent);
impl Deref for GuildScheduledEventDelete {
type Target = GuildScheduledEvent;
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl DerefMut for GuildScheduledEventDelete {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}