#[non_exhaustive]pub enum GuildFeature {
Show 28 variants
AnimatedBanner,
AnimatedIcon,
AutoModeration,
Banner,
Community,
CreatorMonetizableProvisional,
CreatorStorePage,
DeveloperSupportServer,
Discoverable,
Featurable,
InvitesDisabled,
InviteSplash,
MemberVerificationGateEnabled,
MoreStickers,
News,
Partnered,
PreviewEnabled,
PrivateThreads,
RaidAlertsDisabled,
RoleIcons,
RoleSubscriptionsAvailableForPurchase,
RoleSubscriptionsEnabled,
TicketedEventsEnabled,
VanityUrl,
Verified,
VipRegions,
WelcomeScreenEnabled,
Unknown(String),
}
Expand description
Special and optional guild features.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AnimatedBanner
Has access to set an animated guild banner image.
AnimatedIcon
Has access to set an animated guild icon.
AutoModeration
Has set up auto moderation rules.
Banner
Has access to set a guild banner image.
Community
Can enable welcome screen, membership screening, stage channels, discovery, and receives community updates.
CreatorMonetizableProvisional
Guild has enabled monetization.
CreatorStorePage
Guild has enabled the role subscription promotional page.
DeveloperSupportServer
Guild has been set as a support server on the App Directory.
Discoverable
Is able to be discovered in the directory.
Featurable
Is able to be featured in the directory.
InvitesDisabled
Invites have been paused, this prevents new users from joining.
InviteSplash
Has access to set an invite splash background.
MemberVerificationGateEnabled
Has enabled membership screening.
MoreStickers
Has increased custom sticker slots.
News
Has access to create news channels.
Partnered
Is partnered.
PreviewEnabled
Can be previewed before joining via membership screening or the directory.
PrivateThreads
Has access to create private threads.
RaidAlertsDisabled
Guild has disabled alerts for join raids in the configured safety alerts channel.
RoleIcons
Is able to set role icons.
RoleSubscriptionsAvailableForPurchase
Guild has role subscriptions that can be purchased.
RoleSubscriptionsEnabled
Guild has enabled role subscriptions.
TicketedEventsEnabled
Has enabled ticketed events.
VanityUrl
Has access to set a vanity URL.
Verified
Is verified.
VipRegions
Has access to set 384kps bitrate in voice (previously VIP voice servers).
WelcomeScreenEnabled
Has enabled the welcome screen.
Unknown(String)
Variant value is unknown to the library.
Trait Implementations§
source§impl Clone for GuildFeature
impl Clone for GuildFeature
source§fn clone(&self) -> GuildFeature
fn clone(&self) -> GuildFeature
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GuildFeature
impl Debug for GuildFeature
source§impl<'de> Deserialize<'de> for GuildFeature
impl<'de> Deserialize<'de> for GuildFeature
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>,
source§impl From<GuildFeature> for Cow<'static, str>
impl From<GuildFeature> for Cow<'static, str>
source§fn from(value: GuildFeature) -> Self
fn from(value: GuildFeature) -> Self
source§impl From<String> for GuildFeature
impl From<String> for GuildFeature
source§impl Hash for GuildFeature
impl Hash for GuildFeature
source§impl PartialEq for GuildFeature
impl PartialEq for GuildFeature
source§impl Serialize for GuildFeature
impl Serialize for GuildFeature
impl Eq for GuildFeature
impl StructuralPartialEq for GuildFeature
Auto Trait Implementations§
impl Freeze for GuildFeature
impl RefUnwindSafe for GuildFeature
impl Send for GuildFeature
impl Sync for GuildFeature
impl Unpin for GuildFeature
impl UnwindSafe for GuildFeature
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
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)
clone_to_uninit
)