pub struct GetJoinedPrivateArchivedThreads<'a> { /* private fields */ }
Expand description
Returns archived private threads in the channel that the current user has joined.
Threads are ordered by their ID in descending order.
Implementations§
source§impl<'a> GetJoinedPrivateArchivedThreads<'a>
impl<'a> GetJoinedPrivateArchivedThreads<'a>
sourcepub const fn before(self, before: Id<ChannelMarker>) -> Self
pub const fn before(self, before: Id<ChannelMarker>) -> Self
Return threads before this ID.
sourcepub fn exec(self) -> ResponseFuture<ThreadsListing> ⓘ
👎Deprecated since 0.14.0: use .await
or into_future
instead
pub fn exec(self) -> ResponseFuture<ThreadsListing> ⓘ
.await
or into_future
insteadExecute the request, returning a future resolving to a Response
.
Trait Implementations§
source§impl IntoFuture for GetJoinedPrivateArchivedThreads<'_>
impl IntoFuture for GetJoinedPrivateArchivedThreads<'_>
§type Output = Result<Response<ThreadsListing>, Error>
type Output = Result<Response<ThreadsListing>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<ThreadsListing>
type IntoFuture = ResponseFuture<ThreadsListing>
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 GetJoinedPrivateArchivedThreads<'_>
impl TryIntoRequest for GetJoinedPrivateArchivedThreads<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetJoinedPrivateArchivedThreads<'a>
impl<'a> Send for GetJoinedPrivateArchivedThreads<'a>
impl<'a> Sync for GetJoinedPrivateArchivedThreads<'a>
impl<'a> Unpin for GetJoinedPrivateArchivedThreads<'a>
impl<'a> !UnwindSafe for GetJoinedPrivateArchivedThreads<'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