pub struct StoreCircle {
pub name: String,
pub members: BTreeSet<MemberId>,
pub base: u32,
}Expand description
A circle and its current membership; deleted circles retain their name. Its keys come from received introductions, not this membership projection (§12.1).
Fields§
§name: StringThe last kept name.
members: BTreeSet<MemberId>Current members; empty after deletion.
base: u32The breaking version its creation entry recorded: its schema version until a raise of its own goes past it (§15.5, §16.3).
Trait Implementations§
Source§impl Clone for StoreCircle
impl Clone for StoreCircle
Source§fn clone(&self) -> StoreCircle
fn clone(&self) -> StoreCircle
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 StoreCircle
impl Debug for StoreCircle
Source§impl PartialEq for StoreCircle
impl PartialEq for StoreCircle
impl Eq for StoreCircle
impl StructuralPartialEq for StoreCircle
Auto Trait Implementations§
impl Freeze for StoreCircle
impl RefUnwindSafe for StoreCircle
impl Send for StoreCircle
impl Sync for StoreCircle
impl Unpin for StoreCircle
impl UnsafeUnpin for StoreCircle
impl UnwindSafe for StoreCircle
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.