pub struct CircleRosterBranch {
pub heads: Vec<CircleRosterHeadRef>,
pub effective_frontier: Vec<CircleRosterCoord>,
pub grants: BTreeMap<MembershipGrantId, GrantState<CircleGrantRecord, CircleGrantRetirement>>,
pub state_hash: ObjectHash,
}Fields§
§heads: Vec<CircleRosterHeadRef>§effective_frontier: Vec<CircleRosterCoord>§grants: BTreeMap<MembershipGrantId, GrantState<CircleGrantRecord, CircleGrantRetirement>>§state_hash: ObjectHashImplementations§
Source§impl CircleRosterBranch
impl CircleRosterBranch
pub fn active_grants( &self, ) -> impl Iterator<Item = (&MembershipGrantId, &CircleGrantRecord)>
Trait Implementations§
Source§impl Clone for CircleRosterBranch
impl Clone for CircleRosterBranch
Source§fn clone(&self) -> CircleRosterBranch
fn clone(&self) -> CircleRosterBranch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CircleRosterBranch
impl Debug for CircleRosterBranch
Source§impl<'de> Deserialize<'de> for CircleRosterBranch
impl<'de> Deserialize<'de> for CircleRosterBranch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CircleRosterBranch
impl PartialEq for CircleRosterBranch
Source§impl Serialize for CircleRosterBranch
impl Serialize for CircleRosterBranch
impl Eq for CircleRosterBranch
impl StructuralPartialEq for CircleRosterBranch
Auto Trait Implementations§
impl Freeze for CircleRosterBranch
impl RefUnwindSafe for CircleRosterBranch
impl Send for CircleRosterBranch
impl Sync for CircleRosterBranch
impl Unpin for CircleRosterBranch
impl UnsafeUnpin for CircleRosterBranch
impl UnwindSafe for CircleRosterBranch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.