# Struct command::session::Welcome

> `session.welcome`.

`zaun_community_protocol::command::session::Welcome` · Struct

```rust
pub struct Welcome { … }
```

`session.welcome`.

## Fields

### `version: u16`

The negotiated version.

### `host_public_key: PublicKey`

The host key; `host_id` derives from it.

### `host_id: HostId`

The host id.

### `host_challenge: Challenge`

Fresh; valid until the next hello or 10 minutes.

### `proof: SignedJson`

Signed `HostSessionProof`.

### `capabilities: Vec<String>`

Intersection of both sides' capabilities.

### `limits: Map<String, Value>`

Effective limits the client MUST respect.

SPEC: the key names are never defined; kept as an opaque object.

### `binding: Option<Binding>`

The connection's binding, if bound.

### `descriptor: Option<SignedJson>`

The bound or requested community's signed descriptor; `null` also when it has the
hello's `held_descriptor` hash (the client uses its own).

### `delegation: Option<SignedJson>`

Its signed delegation.

### `attachments: Option<HostAttachments>`

What the host accepts as attachments; absent when it takes none.

## Trait implementations

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

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