#[non_exhaustive]pub struct ListScheduledEventsForGuild {
pub with_user_count: Option<bool>,
}Expand description
The query of List Scheduled Events for Guild.
discord.js counterpart: RESTGetAPIGuildScheduledEventsQuery (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 each event’s user_count.
Trait Implementations§
Source§impl Clone for ListScheduledEventsForGuild
impl Clone for ListScheduledEventsForGuild
impl Copy for ListScheduledEventsForGuild
Source§impl Debug for ListScheduledEventsForGuild
impl Debug for ListScheduledEventsForGuild
impl Eq for ListScheduledEventsForGuild
Source§impl Hash for ListScheduledEventsForGuild
impl Hash for ListScheduledEventsForGuild
impl StructuralPartialEq for ListScheduledEventsForGuild
Auto Trait Implementations§
impl Freeze for ListScheduledEventsForGuild
impl RefUnwindSafe for ListScheduledEventsForGuild
impl Send for ListScheduledEventsForGuild
impl Sync for ListScheduledEventsForGuild
impl Unpin for ListScheduledEventsForGuild
impl UnsafeUnpin for ListScheduledEventsForGuild
impl UnwindSafe for ListScheduledEventsForGuild
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