Struct Presence
zaun_client::Presence · Struct
pub struct Presence { … }A member’s presence as everyone else sees it (invisible members look Offline).
Fields
Section titled “Fields”member: MemberId
Section titled “member: MemberId”The member.
status: Status
Section titled “status: Status”Online, Idle, Dnd or Offline.
activity: Option<Activity>
Section titled “activity: Option<Activity>”What they are doing, if they said.
Methods
Section titled “Methods”activity_line
Section titled “activity_line”pub fn activity_line(&self) -> Option<String>How clients show the activity: “Playing chess”, “Listening to lofi radio”, or the custom text with its emoji.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Eq, From<&PresenceSignal>, PartialEq, StructuralPartialEq