Skip to content

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.

1–128 scalars.

A Unicode emoji.

When the host clears it, ms since the epoch; absent: never.

pub const fn clears(&self) -> bool

Whether this clears the status.

Body, Clone, Debug, Default, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq, Validate

Full rustdoc page