#[non_exhaustive]pub struct ListArchivedThreads {
pub before: Option<Timestamp>,
pub limit: Option<u16>,
}Expand description
The query of List Public Archived Threads and List Private Archived Threads.
discord.js counterpart: RESTGetAPIChannelThreadsArchivedQuery (discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.before: Option<Timestamp>Threads archived before this time.
limit: Option<u16>The maximum number of threads.
Trait Implementations§
Source§impl Clone for ListArchivedThreads
impl Clone for ListArchivedThreads
impl Copy for ListArchivedThreads
Source§impl Debug for ListArchivedThreads
impl Debug for ListArchivedThreads
Source§impl Default for ListArchivedThreads
impl Default for ListArchivedThreads
impl Eq for ListArchivedThreads
Source§impl Hash for ListArchivedThreads
impl Hash for ListArchivedThreads
Source§impl PartialEq for ListArchivedThreads
impl PartialEq for ListArchivedThreads
impl StructuralPartialEq for ListArchivedThreads
Auto Trait Implementations§
impl Forget for ListArchivedThreads
impl Freeze for ListArchivedThreads
impl Move for ListArchivedThreads
impl RefUnwindSafe for ListArchivedThreads
impl Send for ListArchivedThreads
impl Sync for ListArchivedThreads
impl Unpin for ListArchivedThreads
impl UnsafeUnpin for ListArchivedThreads
impl UnwindSafe for ListArchivedThreads
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