pub struct GetGuildScheduledEvents<'a> { /* private fields */ }
Expand description
Get a list of scheduled events in a guild.
Implementations§
source§impl<'a> GetGuildScheduledEvents<'a>
impl<'a> GetGuildScheduledEvents<'a>
sourcepub const fn with_user_count(self, with_user_count: bool) -> Self
pub const fn with_user_count(self, with_user_count: bool) -> Self
Set whether to include the number of subscribed users.
Trait Implementations§
source§impl IntoFuture for GetGuildScheduledEvents<'_>
impl IntoFuture for GetGuildScheduledEvents<'_>
source§type Output = Result<Response<ListBody<GuildScheduledEvent>>, Error>
type Output = Result<Response<ListBody<GuildScheduledEvent>>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<ListBody<GuildScheduledEvent>>
type IntoFuture = ResponseFuture<ListBody<GuildScheduledEvent>>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
source§impl TryIntoRequest for GetGuildScheduledEvents<'_>
impl TryIntoRequest for GetGuildScheduledEvents<'_>
Auto Trait Implementations§
impl<'a> Freeze for GetGuildScheduledEvents<'a>
impl<'a> !RefUnwindSafe for GetGuildScheduledEvents<'a>
impl<'a> Send for GetGuildScheduledEvents<'a>
impl<'a> Sync for GetGuildScheduledEvents<'a>
impl<'a> Unpin for GetGuildScheduledEvents<'a>
impl<'a> !UnwindSafe for GetGuildScheduledEvents<'a>
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