Struct signed::ValidPair
zaun_community_protocol::signed::ValidPair · Struct
pub struct ValidPair { … }A (descriptor, delegation) pair valid at the time it was checked, with the state to store.
Only validate_pair creates one.
Methods
Section titled “Methods”descriptor
Section titled “descriptor”pub const fn descriptor(&self) -> &Signed<CommunityDescriptor>The verified descriptor.
delegation
Section titled “delegation”pub const fn delegation(&self) -> &Signed<HostDelegation>The verified delegation.
pub const fn chain(&self) -> &ChainHeadThe verified rotation chain.
pub const fn state(&self) -> &AcceptedStateThe anti-rollback state to store for the community after accepting this pair.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Eq, PartialEq, StructuralPartialEq