# Function mention::parse

> The mentions `content` shows: `<@id>` (and Discord's `<@!id>`) for members, `<@&id>` for roles, `@everyone`. Each id once, in order, at most 50 members and 20 roles; malformed ids 

`zaun_client::mention::parse` · Function

```rust
pub fn parse(content: &str) -> Mentions
```

The mentions `content` shows: `<@id>` (and Discord's `<@!id>`) for members, `<@&id>` for
roles, `@everyone`. Each id once, in order, at most 50 members and 20 roles; malformed
ids are skipped. Use it on text this member wrote, not on text from someone else.

[Full rustdoc page](/docs/api/rust/zaun-client/zaun_client/mention/fn.parse.html)
