pub struct GetGuildScheduledEventUsers<'a> { /* private fields */ }
Expand description
Get a list of users subscribed to a scheduled event.
Users are returned in ascending order by user_id
. before
and after
both take a user id. If both are specified, only before
is respected.
The default limit
is 100. See the Discord docs for more information.
Implementations
Get users before this user ID.
This is incompatible with after
.
Set the limit of users to return.
If not specified, the default is 100.
Errors
Returns an error of type ScheduledEventGetUsers
if the limit is
invalid.
Set whether to return member objects with each user.
pub fn exec(self) -> ResponseFuture<ListBody<GuildScheduledEventUser>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<ListBody<GuildScheduledEventUser>>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
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
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetGuildScheduledEventUsers<'a>
impl<'a> Send for GetGuildScheduledEventUsers<'a>
impl<'a> Sync for GetGuildScheduledEventUsers<'a>
impl<'a> Unpin for GetGuildScheduledEventUsers<'a>
impl<'a> !UnwindSafe for GetGuildScheduledEventUsers<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more