pub struct GetThreadMembers<'a> { /* private fields */ }
Expand description
Returns the ThreadMember
s of the thread.
Implementations§
source§impl<'a> GetThreadMembers<'a>
impl<'a> GetThreadMembers<'a>
sourcepub fn after(self, after: Id<UserMarker>) -> Self
pub fn after(self, after: Id<UserMarker>) -> Self
Fetch the thread members after the user ID.
sourcepub fn limit(self, limit: u32) -> Self
pub fn limit(self, limit: u32) -> Self
The maximum number of thread members to return.
Must be between 1 and 100. Defaults to 100.
§Errors
Returns a ChannelValidationErrorType::ThreadMemberLimitInvalid
error type if the
limit is not between 1 and 100.
sourcepub fn with_member(self, with_member: bool) -> Self
pub fn with_member(self, with_member: bool) -> Self
Include the associated guild members for each thread member.
Trait Implementations§
source§impl IntoFuture for GetThreadMembers<'_>
impl IntoFuture for GetThreadMembers<'_>
source§type Output = Result<Response<ListBody<ThreadMember>>, Error>
type Output = Result<Response<ListBody<ThreadMember>>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<ListBody<ThreadMember>>
type IntoFuture = ResponseFuture<ListBody<ThreadMember>>
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 GetThreadMembers<'_>
impl TryIntoRequest for GetThreadMembers<'_>
Auto Trait Implementations§
impl<'a> Freeze for GetThreadMembers<'a>
impl<'a> !RefUnwindSafe for GetThreadMembers<'a>
impl<'a> Send for GetThreadMembers<'a>
impl<'a> Sync for GetThreadMembers<'a>
impl<'a> Unpin for GetThreadMembers<'a>
impl<'a> !UnwindSafe for GetThreadMembers<'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