Struct twilight_http::request::guild::GetGuildWidget
source · [−]pub struct GetGuildWidget<'a> { /* private fields */ }
Expand description
Get the guild widget.
Implementations
sourceimpl<'a> GetGuildWidget<'a>
impl<'a> GetGuildWidget<'a>
sourcepub 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>;
Execute the request, returning a future resolving to a Response
.
Trait Implementations
sourceimpl TryIntoRequest for GetGuildWidget<'_>
impl TryIntoRequest for GetGuildWidget<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetGuildWidget<'a>
impl<'a> Send for GetGuildWidget<'a>
impl<'a> Sync for GetGuildWidget<'a>
impl<'a> Unpin for GetGuildWidget<'a>
impl<'a> !UnwindSafe for GetGuildWidget<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more