pub struct GetPublicArchivedThreads<'a> { /* private fields */ }
Expand description
Returns archived public threads in the channel.
Requires the READ_MESSAGE_HISTORY
permission.
Threads are ordered by archive_timestamp
in descending order.
When called in a GuildText
channel, returns PublicThread
s.
When called in a GuildAnnouncement
channel, returns AnnouncementThread
s.
Implementations§
Trait Implementations§
source§impl IntoFuture for GetPublicArchivedThreads<'_>
impl IntoFuture for GetPublicArchivedThreads<'_>
source§type Output = Result<Response<ThreadsListing>, Error>
type Output = Result<Response<ThreadsListing>, Error>
The output that the future will produce on completion.
source§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 GetPublicArchivedThreads<'_>
impl TryIntoRequest for GetPublicArchivedThreads<'_>
Auto Trait Implementations§
impl<'a> Freeze for GetPublicArchivedThreads<'a>
impl<'a> !RefUnwindSafe for GetPublicArchivedThreads<'a>
impl<'a> Send for GetPublicArchivedThreads<'a>
impl<'a> Sync for GetPublicArchivedThreads<'a>
impl<'a> Unpin for GetPublicArchivedThreads<'a>
impl<'a> !UnwindSafe for GetPublicArchivedThreads<'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