# Struct command::presence::StatusSet

> `member.status.set`: replaces the actor's custom status. A body with neither `text` nor `emoji` clears it.

`zaun_community_protocol::command::presence::StatusSet` · Struct

```rust
pub struct StatusSet { … }
```

`member.status.set`: replaces the actor's custom status. A body with neither `text` nor
`emoji` clears it.

## Fields

### `text: Option<String>`

1–128 scalars.

### `emoji: Option<String>`

A Unicode emoji.

### `expires_at: Option<u64>`

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

## Methods

### `clears`

```rust
pub const fn clears(&self) -> bool
```

Whether this clears the status.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/presence/struct.StatusSet.html)
