# Struct command::invite::Admitted

> `invite.redeem` and `membership.request` response.

`zaun_community_protocol::command::invite::Admitted` · Struct

```rust
pub struct Admitted { … }
```

`invite.redeem` and `membership.request` response.

## Fields

### `community_id: CommunityId`

The community the member joined or requested to join.

### `member_id: MemberId`

The new member id.

### `state: MembershipState`

`pending`, `probation` or `active`.

### `descriptor: Option<SignedJson>`

Signed descriptor; absent when it is the one the session's welcome gave or confirmed.

### `delegation: Option<SignedJson>`

Signed delegation; absent with the descriptor.

### `cursors: Cursors`

Initial cursors.

## Trait implementations

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

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