Struct twilight_model::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
sourceimpl Clone for InviteGuild
impl Clone for InviteGuild
sourcefn clone(&self) -> InviteGuild
fn clone(&self) -> InviteGuild
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InviteGuild
impl Debug for InviteGuild
sourceimpl<'de> Deserialize<'de> for InviteGuild
impl<'de> Deserialize<'de> for InviteGuild
sourcefn 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
sourceimpl Hash for InviteGuild
impl Hash for InviteGuild
sourceimpl PartialEq<InviteGuild> for InviteGuild
impl PartialEq<InviteGuild> for InviteGuild
sourcefn eq(&self, other: &InviteGuild) -> bool
fn eq(&self, other: &InviteGuild) -> bool
sourceimpl Serialize for InviteGuild
impl Serialize for InviteGuild
impl Eq for InviteGuild
impl StructuralEq for InviteGuild
impl StructuralPartialEq for InviteGuild
Auto Trait Implementations
impl RefUnwindSafe for InviteGuild
impl Send for InviteGuild
impl Sync for InviteGuild
impl Unpin for InviteGuild
impl UnwindSafe for InviteGuild
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