Struct bindings::zaun::bot::types::Activity
zaun_bot::bindings::zaun::bot::types::Activity · Struct
pub struct Activity { … }What a member (or the bot) is doing.
Fields
Section titled “Fields”kind: ActivityType
Section titled “kind: ActivityType”name: String
Section titled “name: String”1-128 characters.
details: Option<String>
Section titled “details: Option<String>”<= 128: e.g. the track.
state: Option<String>
Section titled “state: Option<String>”<= 128: e.g. the artist.
url: Option<String>
Section titled “url: Option<String>”streaming only: an https:// link (open only after the reader confirms).
started_at: Option<Timestamp>
Section titled “started_at: Option<Timestamp>”When it started, ms since the epoch.
emoji: Option<String>
Section titled “emoji: Option<String>”custom only: a Unicode emoji.
Trait implementations
Section titled “Trait implementations”Clone, Debug