Struct twilight_http::request::guild::UpdateGuildWidget [−][src]
pub struct UpdateGuildWidget<'a> { /* fields omitted */ }
Expand description
Modify the guild widget.
Implementations
Set which channel to display on the widget.
pub fn exec(self) -> ResponseFuture<GuildWidget>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<GuildWidget>ⓘ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 UpdateGuildWidget<'a>
impl<'a> Send for UpdateGuildWidget<'a>
impl<'a> Sync for UpdateGuildWidget<'a>
impl<'a> Unpin for UpdateGuildWidget<'a>
impl<'a> !UnwindSafe for UpdateGuildWidget<'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