#[non_exhaustive]pub struct GetGuildScheduledEvent {
pub with_user_count: Option<bool>,
}Expand description
The query of Get Guild Scheduled Event.
discord.js counterpart: RESTGetAPIGuildScheduledEventQuery (discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.with_user_count: Option<bool>Whether to include the event’s user_count.
Trait Implementations§
Source§impl Clone for GetGuildScheduledEvent
impl Clone for GetGuildScheduledEvent
impl Copy for GetGuildScheduledEvent
Source§impl Debug for GetGuildScheduledEvent
impl Debug for GetGuildScheduledEvent
Source§impl Default for GetGuildScheduledEvent
impl Default for GetGuildScheduledEvent
impl Eq for GetGuildScheduledEvent
Source§impl Hash for GetGuildScheduledEvent
impl Hash for GetGuildScheduledEvent
Source§impl PartialEq for GetGuildScheduledEvent
impl PartialEq for GetGuildScheduledEvent
impl StructuralPartialEq for GetGuildScheduledEvent
Auto Trait Implementations§
impl Forget for GetGuildScheduledEvent
impl Freeze for GetGuildScheduledEvent
impl Move for GetGuildScheduledEvent
impl RefUnwindSafe for GetGuildScheduledEvent
impl Send for GetGuildScheduledEvent
impl Sync for GetGuildScheduledEvent
impl Unpin for GetGuildScheduledEvent
impl UnsafeUnpin for GetGuildScheduledEvent
impl UnwindSafe for GetGuildScheduledEvent
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