pub struct GetGuildScheduledEvents<'a> { /* private fields */ }
Expand description
Get a list of scheduled events in a guild.
Implementations
sourceimpl<'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.
sourcepub fn exec(self) -> ResponseFuture<ListBody<GuildScheduledEvent>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<ListBody<GuildScheduledEvent>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Execute the request, returning a future resolving to a Response
.
Trait Implementations
sourceimpl TryIntoRequest for GetGuildScheduledEvents<'_>
impl TryIntoRequest for GetGuildScheduledEvents<'_>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more