Struct twilight_model::gateway::payload::incoming::GuildScheduledEventCreate
source · pub struct GuildScheduledEventCreate(pub GuildScheduledEvent);
Expand description
Sent when a guild scheduled event is created. The inner payload is a GuildScheduledEvent
.
Tuple Fields§
§0: GuildScheduledEvent
Trait Implementations§
source§impl Clone for GuildScheduledEventCreate
impl Clone for GuildScheduledEventCreate
source§fn clone(&self) -> GuildScheduledEventCreate
fn clone(&self) -> GuildScheduledEventCreate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GuildScheduledEventCreate
impl Debug for GuildScheduledEventCreate
source§impl Deref for GuildScheduledEventCreate
impl Deref for GuildScheduledEventCreate
source§impl DerefMut for GuildScheduledEventCreate
impl DerefMut for GuildScheduledEventCreate
source§impl<'de> Deserialize<'de> for GuildScheduledEventCreate
impl<'de> Deserialize<'de> for GuildScheduledEventCreate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for GuildScheduledEventCreate
impl Hash for GuildScheduledEventCreate
source§impl PartialEq<GuildScheduledEventCreate> for GuildScheduledEventCreate
impl PartialEq<GuildScheduledEventCreate> for GuildScheduledEventCreate
source§fn eq(&self, other: &GuildScheduledEventCreate) -> bool
fn eq(&self, other: &GuildScheduledEventCreate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GuildScheduledEventCreate
impl StructuralEq for GuildScheduledEventCreate
impl StructuralPartialEq for GuildScheduledEventCreate
Auto Trait Implementations§
impl RefUnwindSafe for GuildScheduledEventCreate
impl Send for GuildScheduledEventCreate
impl Sync for GuildScheduledEventCreate
impl Unpin for GuildScheduledEventCreate
impl UnwindSafe for GuildScheduledEventCreate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more