#[non_exhaustive]pub struct GetGuild {
pub with_counts: Option<bool>,
}Expand description
The query of Get Guild.
discord.js counterpart: RESTGetAPIGuildQuery (discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.with_counts: Option<bool>Whether to include the approximate member and presence counts.
Trait Implementations§
impl Copy for GetGuild
impl Eq for GetGuild
impl StructuralPartialEq for GetGuild
Auto Trait Implementations§
impl Forget for GetGuild
impl Freeze for GetGuild
impl Move for GetGuild
impl RefUnwindSafe for GetGuild
impl Send for GetGuild
impl Sync for GetGuild
impl Unpin for GetGuild
impl UnsafeUnpin for GetGuild
impl UnwindSafe for GetGuild
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more