Struct command::session::Welcome
zaun_community_protocol::command::session::Welcome · Struct
pub struct Welcome { … }session.welcome.
Fields
Section titled “Fields”version: u16
Section titled “version: u16”The negotiated version.
host_public_key: PublicKey
Section titled “host_public_key: PublicKey”The host key; host_id derives from it.
host_id: HostId
Section titled “host_id: HostId”The host id.
host_challenge: Challenge
Section titled “host_challenge: Challenge”Fresh; valid until the next hello or 10 minutes.
proof: SignedJson
Section titled “proof: SignedJson”Signed HostSessionProof.
capabilities: Vec<String>
Section titled “capabilities: Vec<String>”Intersection of both sides’ capabilities.
limits: Map<String, Value>
Section titled “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>
Section titled “binding: Option<Binding>”The connection’s binding, if bound.
descriptor: Option<SignedJson>
Section titled “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>
Section titled “delegation: Option<SignedJson>”Its signed delegation.
attachments: Option<HostAttachments>
Section titled “attachments: Option<HostAttachments>”What the host accepts as attachments; absent when it takes none.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, PartialEq, Serialize, StructuralPartialEq