Trait CommitteeMember

Source
pub trait CommitteeMember {
    type AuthorityId;
    type AuthorityKeys;

    // Required methods
    fn authority_id(&self) -> Self::AuthorityId;
    fn authority_keys(&self) -> Self::AuthorityKeys;
}
Expand description

Signifies that a type represents a committee member

Required Associated Types§

Source

type AuthorityId

Type representing authority id

Source

type AuthorityKeys

Type representing authority keys

Required Methods§

Source

fn authority_id(&self) -> Self::AuthorityId

Returns authority id

Source

fn authority_keys(&self) -> Self::AuthorityKeys

Returns authority keys

Implementations on Foreign Types§

Source§

impl<AuthorityId: Clone, AuthorityKeys: Clone> CommitteeMember for (AuthorityId, AuthorityKeys)

Source§

type AuthorityId = AuthorityId

Source§

type AuthorityKeys = AuthorityKeys

Source§

fn authority_id(&self) -> AuthorityId

Source§

fn authority_keys(&self) -> AuthorityKeys

Implementors§