pub struct GuildScheduledEventUserAdd {
pub guild_id: Id<GuildMarker>,
pub guild_scheduled_event_id: Id<ScheduledEventMarker>,
pub user_id: Id<UserMarker>,
}
Expand description
Sent when a user has subscribed to a guild scheduled event.
Fields§
§guild_id: Id<GuildMarker>
Guild ID of the scheduled event.
guild_scheduled_event_id: Id<ScheduledEventMarker>
ID of the guild scheduled event.
user_id: Id<UserMarker>
ID of the user who has subscribed to the guild scheduled event.
Trait Implementations§
Source§impl Clone for GuildScheduledEventUserAdd
impl Clone for GuildScheduledEventUserAdd
Source§fn clone(&self) -> GuildScheduledEventUserAdd
fn clone(&self) -> GuildScheduledEventUserAdd
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 GuildScheduledEventUserAdd
impl Debug for GuildScheduledEventUserAdd
Source§impl<'de> Deserialize<'de> for GuildScheduledEventUserAdd
impl<'de> Deserialize<'de> for GuildScheduledEventUserAdd
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 GuildScheduledEventUserAdd
impl Hash for GuildScheduledEventUserAdd
impl Eq for GuildScheduledEventUserAdd
impl StructuralPartialEq for GuildScheduledEventUserAdd
Auto Trait Implementations§
impl Freeze for GuildScheduledEventUserAdd
impl RefUnwindSafe for GuildScheduledEventUserAdd
impl Send for GuildScheduledEventUserAdd
impl Sync for GuildScheduledEventUserAdd
impl Unpin for GuildScheduledEventUserAdd
impl UnwindSafe for GuildScheduledEventUserAdd
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