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> !RefUnwindSafe for GetGuildScheduledEvents<'a>
impl<'a> !UnwindSafe for GetGuildScheduledEvents<'a>
impl<'a> Forget for GetGuildScheduledEvents<'a>
impl<'a> Freeze for GetGuildScheduledEvents<'a>where
PhantomData<fn(GuildMarker) -> GuildMarker>: Freeze,
NonZero<u64>: Freeze,
&'a Client: Freeze,
impl<'a> Move for GetGuildScheduledEvents<'a>
impl<'a> Send for GetGuildScheduledEvents<'a>
impl<'a> Sync for GetGuildScheduledEvents<'a>where
NonZero<u64>: Sync,
RawVecInner: Sync,
BoxRaw<[Pos]>: Sync,
Bytes: Sync,
Arc<Config>: Sync,
Arc<Resolver<GenericConnector<TokioRuntimeProvider>>>: Sync,
Arc<ClientConfig>: Sync,
Arc<dyn ResolveServerName + Send + Sync>: Sync,
Arc<dyn Executor<Pin<Box<dyn Future<Output = ()> + Send>>> + Send + Sync>: Sync,
Arc<dyn Timer + Send + Sync>: Sync,
Arc<Mutex<PoolInner<PoolClient<Full<Bytes>>, (Scheme, Authority)>>>: Sync,
BoxRaw<str>: Sync,
Arc<Chan<(Message, Option<Box<dyn FnOnce(Option<Bucket>) -> bool + Send>>), Semaphore>>: Sync,
Arc<Atomic<bool>>: Sync,
impl<'a> Unpin for GetGuildScheduledEvents<'a>
impl<'a> UnsafeUnpin for GetGuildScheduledEvents<'a>where
PhantomData<fn(GuildMarker) -> GuildMarker>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
&'a Client: UnsafeUnpin,
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