Enum serenity::model::guild::GuildStatus [−][src]
#[non_exhaustive]
pub enum GuildStatus {
OnlinePartialGuild(PartialGuild),
OnlineGuild(Guild),
Offline(GuildUnavailable),
}
will be replaced by UnavailableGuild
with serenity 0.11
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
OnlinePartialGuild(PartialGuild)
Tuple Fields
0: PartialGuild
will be replaced by UnavailableGuild
with serenity 0.11
will be replaced by UnavailableGuild
with serenity 0.11
OnlineGuild(Guild)
Tuple Fields
0: Guild
will be replaced by UnavailableGuild
with serenity 0.11
will be replaced by UnavailableGuild
with serenity 0.11
Offline(GuildUnavailable)
Tuple Fields
0: GuildUnavailable
will be replaced by UnavailableGuild
with serenity 0.11
will be replaced by UnavailableGuild
with serenity 0.11
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for GuildStatus
impl Send for GuildStatus
impl Sync for GuildStatus
impl Unpin for GuildStatus
impl UnwindSafe for GuildStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more