Struct command::session::Hello
zaun_community_protocol::command::session::Hello · Struct
pub struct Hello { … }session.hello.
Fields
Section titled “Fields”versions: Versions
Section titled “versions: Versions”The client’s supported protocol range.
client_nonce: Nonce
Section titled “client_nonce: Nonce”Fresh per hello; echoed in the host’s proof.
capabilities: Vec<String>
Section titled “capabilities: Vec<String>”≤ 32 entries, each ≤ 64 bytes; unknown ones are ignored by the host.
community_id: Option<CommunityId>
Section titled “community_id: Option<CommunityId>”Unbound only: the community the client intends to join. Required, may be null.
held_descriptor: Option<DescriptorHash>
Section titled “held_descriptor: Option<DescriptorHash>”The hash of the verified descriptor the client holds for the bound or requested community. A host whose current descriptor has this hash leaves the pair out of the welcome. Absent when the client holds none.
Trait implementations
Section titled “Trait implementations”Body, Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq, Validate