pub struct InviteGuild {
pub banner: Option<ImageHash>,
pub description: Option<String>,
pub features: Vec<GuildFeature>,
pub icon: Option<ImageHash>,
pub id: Id<GuildMarker>,
pub name: String,
pub premium_subscription_count: Option<u64>,
pub splash: Option<ImageHash>,
pub vanity_url_code: Option<String>,
pub verification_level: VerificationLevel,
pub welcome_screen: Option<WelcomeScreen>,
}
Fields§
Hash of the banner image.
description: Option<String>
Description used for guild discovery.
features: Vec<GuildFeature>
List of features that the guild has had enabled.
icon: Option<ImageHash>
Hash of the icon image.
id: Id<GuildMarker>
ID of the guild.
name: String
Name of the guild.
Number of boosts the guild has.
splash: Option<ImageHash>
Hash of the splash image.
vanity_url_code: Option<String>
Vanity code unique to the guild for invites.
verification_level: VerificationLevel
Account verification level required to participate.
welcome_screen: Option<WelcomeScreen>
Welcome screen for a Community guild.
Trait Implementations§
source§impl Clone for InviteGuild
impl Clone for InviteGuild
source§fn clone(&self) -> InviteGuild
fn clone(&self) -> InviteGuild
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InviteGuild
impl Debug for InviteGuild
source§impl<'de> Deserialize<'de> for InviteGuild
impl<'de> Deserialize<'de> for InviteGuild
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for InviteGuild
impl Hash for InviteGuild
source§impl PartialEq for InviteGuild
impl PartialEq for InviteGuild
source§impl Serialize for InviteGuild
impl Serialize for InviteGuild
impl Eq for InviteGuild
impl StructuralPartialEq for InviteGuild
Auto Trait Implementations§
impl Freeze for InviteGuild
impl RefUnwindSafe for InviteGuild
impl Send for InviteGuild
impl Sync for InviteGuild
impl Unpin for InviteGuild
impl UnwindSafe for InviteGuild
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)