Struct twilight_http::request::channel::thread::get_public_archived_threads::GetPublicArchivedThreads [−][src]
pub struct GetPublicArchivedThreads<'a> { /* fields omitted */ }
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 GuildPublicThread
s.
When called in a GuildNews
channel, returns GuildNewsThread
s.
Implementations
Return threads before this ISO 8601 timestamp.
pub fn exec(self) -> ResponseFuture<ThreadsListing>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<ThreadsListing>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Notable traits for ResponseFuture<T>
impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
Execute the request, returning a future resolving to a Response
.
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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