Struct command::presence::StatusSet
zaun_community_protocol::command::presence::StatusSet · Struct
pub struct StatusSet { … }member.status.set: replaces the actor’s custom status. A body with neither text nor
emoji clears it.
Fields
Section titled “Fields”text: Option<String>
Section titled “text: Option<String>”1–128 scalars.
emoji: Option<String>
Section titled “emoji: Option<String>”A Unicode emoji.
expires_at: Option<u64>
Section titled “expires_at: Option<u64>”When the host clears it, ms since the epoch; absent: never.
Methods
Section titled “Methods”clears
Section titled “clears”pub const fn clears(&self) -> boolWhether this clears the status.
Trait implementations
Section titled “Trait implementations”Body, Clone, Debug, Default, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq, Validate