Struct twilight_http::request::guild::GetGuildPreview [−][src]
pub struct GetGuildPreview<'a> { /* fields omitted */ }Expand description
For public guilds, get the guild preview.
This works even if the user is not in the guild.
Implementations
pub fn exec(self) -> ResponseFuture<GuildPreview>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<GuildPreview>ⓘ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 GetGuildPreview<'a>
impl<'a> Send for GetGuildPreview<'a>
impl<'a> Sync for GetGuildPreview<'a>
impl<'a> Unpin for GetGuildPreview<'a>
impl<'a> !UnwindSafe for GetGuildPreview<'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