Struct twilight_http::request::channel::thread::create_thread::CreateThread [−][src]
pub struct CreateThread<'a> { /* fields omitted */ }Expand description
Start a thread that is not connected to a message.
Values of ThreeDays and Week require the guild to be boosted. The
guild’s features will indicate if a guild is able to use these settings.
To make a GuildPrivateThread, the guild must also have the
PRIVATE_THREADS feature.
Implementations
Whether non-moderators can add other non-moderators to a thread.
pub fn exec(self) -> ResponseFuture<Channel>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<Channel>ⓘ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 CreateThread<'a>
impl<'a> Send for CreateThread<'a>
impl<'a> Sync for CreateThread<'a>
impl<'a> Unpin for CreateThread<'a>
impl<'a> !UnwindSafe for CreateThread<'a>
Blanket Implementations
Mutably borrows from an owned value. 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