Struct client::VerifiedWelcome
zaun_community_protocol::client::VerifiedWelcome · Struct
pub struct VerifiedWelcome { … }A welcome that passed every check. Everything in it comes from verified signed objects or was compared with them.
Fields
Section titled “Fields”version: u16
Section titled “version: u16”The negotiated version.
host_id: HostId
Section titled “host_id: HostId”The host’s id (derives from host_public_key).
host_public_key: PublicKey
Section titled “host_public_key: PublicKey”The host’s key, as pinned by the configuration.
host_challenge: Challenge
Section titled “host_challenge: Challenge”The challenge to sign into a MemberKeyRegistration, from the decoded proof.
capabilities: Vec<String>
Section titled “capabilities: Vec<String>”Capabilities both sides support.
limits: Map<String, Value>
Section titled “limits: Map<String, Value>”Effective limits; the keys are not defined by the specification.
binding: Option<Binding>
Section titled “binding: Option<Binding>”The connection’s binding, if bound.
community: Option<ValidPair>
Section titled “community: Option<ValidPair>”The verified descriptor and delegation, when a community was named. Persist
ValidPair::state for anti-rollback.
attachments: Option<HostAttachments>
Section titled “attachments: Option<HostAttachments>”What the host accepts as attachments; None when it takes none.
Trait implementations
Section titled “Trait implementations”Clone, Debug