Enum twilight_model::guild::GuildFeature
source · [−]#[non_exhaustive]
pub enum GuildFeature {
Show 23 variants
AnimatedBanner,
AnimatedIcon,
AutoModeration,
Banner,
Commerce,
Community,
Discoverable,
Featurable,
InviteSplash,
MemberVerificationGateEnabled,
MonetizationEnabled,
MoreStickers,
News,
Partnered,
PreviewEnabled,
PrivateThreads,
RoleIcons,
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.
Commerce
Has access to use commerce features (create store channels).
Community
Can enable welcome screen, membership screening, stage channels, discovery, and receives community updates.
Discoverable
Is able to be discovered in the directory.
Featurable
Is able to be featured in the directory.
InviteSplash
Has access to set an invite splash background.
MemberVerificationGateEnabled
Has enabled membership screening.
MonetizationEnabled
Has enabled monetization.
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.
RoleIcons
Is able to set role icons.
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
sourceimpl Clone for GuildFeature
impl Clone for GuildFeature
sourcefn clone(&self) -> GuildFeature
fn clone(&self) -> GuildFeature
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 more
sourceimpl Debug for GuildFeature
impl Debug for GuildFeature
sourceimpl<'de> Deserialize<'de> for GuildFeature
impl<'de> Deserialize<'de> for GuildFeature
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 From<GuildFeature> for Cow<'static, str>
impl From<GuildFeature> for Cow<'static, str>
sourcefn from(value: GuildFeature) -> Self
fn from(value: GuildFeature) -> Self
Converts to this type from the input type.
sourceimpl From<String> for GuildFeature
impl From<String> for GuildFeature
sourceimpl Hash for GuildFeature
impl Hash for GuildFeature
sourceimpl PartialEq<GuildFeature> for GuildFeature
impl PartialEq<GuildFeature> for GuildFeature
sourcefn eq(&self, other: &GuildFeature) -> bool
fn eq(&self, other: &GuildFeature) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for GuildFeature
impl Serialize for GuildFeature
impl Eq for GuildFeature
impl StructuralEq for GuildFeature
impl StructuralPartialEq for GuildFeature
Auto Trait Implementations
impl RefUnwindSafe for GuildFeature
impl Send for GuildFeature
impl Sync for GuildFeature
impl Unpin for GuildFeature
impl UnwindSafe for GuildFeature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more