# Struct signed::RegistrationExpectation

> What the host expects of a registration: the command's fields and the connection's current challenge.

`zaun_community_protocol::signed::RegistrationExpectation` · Struct

```rust
pub struct RegistrationExpectation { … }
```

What the host expects of a registration: the command's fields and the connection's
current challenge.

## Fields

### `purpose: Purpose`

The command's purpose.

### `community_id: CommunityId`

The command's community.

### `host_id: HostId`

This host.

### `host_challenge: Challenge`

The connection's current, unused challenge.

## Trait implementations

`Clone`, `Debug`, `Eq`, `PartialEq`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/signed/member_key/struct.RegistrationExpectation.html)
