Struct twilight_model::guild::invite::InviteGuild
source · pub struct InviteGuild {
pub banner: Option<ImageHash>,
pub description: Option<String>,
pub features: Vec<String>,
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<String>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: StringName 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: VerificationLevelAccount 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<InviteGuild> for InviteGuild
impl PartialEq<InviteGuild> for InviteGuild
source§fn eq(&self, other: &InviteGuild) -> bool
fn eq(&self, other: &InviteGuild) -> bool
This method tests for
self and other values to be equal, and is used
by ==.