Struct twilight_http::request::channel::stage::create_stage_instance::CreateStageInstance [−][src]
pub struct CreateStageInstance<'a> { /* fields omitted */ }
Expand description
Create a new stage instance associated with a stage channel.
Requires the user to be a moderator of the stage channel.
Implementations
Set the PrivacyLevel
of the instance.
pub fn exec(self) -> ResponseFuture<EmptyBody>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<EmptyBody>ⓘ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 CreateStageInstance<'a>
impl<'a> Send for CreateStageInstance<'a>
impl<'a> Sync for CreateStageInstance<'a>
impl<'a> Unpin for CreateStageInstance<'a>
impl<'a> !UnwindSafe for CreateStageInstance<'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