Struct twilight_http::request::guild::GetGuild
source · 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.
Trait Implementations
sourceimpl IntoFuture for GetGuild<'_>
impl IntoFuture for GetGuild<'_>
type IntoFuture = ResponseFuture<Guild>
type IntoFuture = ResponseFuture<Guild>
Which kind of future are we turning this into?
sourcefn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
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