Struct client::owner::Genesis
zaun_community_protocol::client::owner::Genesis · Struct
pub struct Genesis { … }A signed genesis descriptor (revision 1) and the delegation it references (epoch 1).
Fields
Section titled “Fields”descriptor: Signed<CommunityDescriptor>
Section titled “descriptor: Signed<CommunityDescriptor>”Signed by the root key.
delegation: Signed<HostDelegation>
Section titled “delegation: Signed<HostDelegation>”Signed by the root key.
Methods
Section titled “Methods”community_id
Section titled “community_id”pub fn community_id(&self) -> CommunityIdThe new community’s id (derived from the genesis root key).
Trait implementations
Section titled “Trait implementations”Clone, Debug, Eq, PartialEq, StructuralPartialEq