pub struct GetGuild<'a> { /* private fields */ }
Expand description
Get information about a guild.
Implementations
sourceimpl<'a> GetGuild<'a>
impl<'a> GetGuild<'a>
sourcepub const fn with_counts(self, with: bool) -> Self
pub const fn with_counts(self, with: bool) -> Self
Sets if you want to receive approximate_member_count
and approximate_presence_count
in
the guild structure.
sourcepub fn exec(self) -> ResponseFuture<Guild>ⓘNotable traits for ResponseFuture<T>impl<T: Unpin> Future for ResponseFuture<T> type Output = Result<Response<T>, Error>;
pub fn exec(self) -> ResponseFuture<Guild>ⓘ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 GetGuild<'_>
impl TryIntoRequest for GetGuild<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetGuild<'a>
impl<'a> Send for GetGuild<'a>
impl<'a> Sync for GetGuild<'a>
impl<'a> Unpin for GetGuild<'a>
impl<'a> !UnwindSafe for GetGuild<'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