pub struct Genesis {
pub descriptor: Signed<CommunityDescriptor>,
pub delegation: Signed<HostDelegation>,
}Expand description
A signed genesis descriptor (revision 1) and the delegation it references (epoch 1).
Fields§
§descriptor: Signed<CommunityDescriptor>Signed by the root key.
delegation: Signed<HostDelegation>Signed by the root key.
Implementations§
Source§impl Genesis
impl Genesis
Sourcepub fn community_id(&self) -> CommunityId
pub fn community_id(&self) -> CommunityId
The new community’s id (derived from the genesis root key).
Trait Implementations§
impl Eq for Genesis
impl StructuralPartialEq for Genesis
Auto Trait Implementations§
impl Freeze for Genesis
impl RefUnwindSafe for Genesis
impl Send for Genesis
impl Sync for Genesis
impl Unpin for Genesis
impl UnsafeUnpin for Genesis
impl UnwindSafe for Genesis
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more