Enum serenity::model::gateway::ActivityType [−][src]
#[non_exhaustive]
pub enum ActivityType {
Playing,
Streaming,
Listening,
Watching,
Custom,
Competing,
Unknown,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Playing
An indicator that the user is playing a game.
Streaming
An indicator that the user is streaming to a service.
Listening
An indicator that the user is listening to something.
Watching
An indicator that the user is watching something.
Custom
An indicator that the user uses custom statuses
Competing
An indicator that the user is competing somewhere.
Unknown
An indicator that the activity is of unknown type.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ActivityType
impl Send for ActivityType
impl Sync for ActivityType
impl Unpin for ActivityType
impl UnwindSafe for ActivityType
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