pub struct GroupInSpace {
pub record: EntityId,
pub group: SpaceId,
pub name: Option<String>,
pub role: MemberRole,
pub agreed: bool,
pub members: Vec<GroupMember>,
pub groups: Vec<GroupInSpace>,
}Expand description
A group that a space’s governing changes add, as a program shows it.
Fields§
§record: EntityIdThe group’s record in the space.
group: SpaceIdThe group.
name: Option<String>The group’s name, where this replica holds its log.
role: MemberRoleThe group’s role in the space now: none once an admin took it out.
agreed: boolWhether the group agreed to join, and has not withdrawn, as the space knows it.
members: Vec<GroupMember>The group’s members, with their roles in the group, where this replica holds its log.
groups: Vec<GroupInSpace>The groups inside the group, as its log says, where this replica holds it.
Trait Implementations§
Source§impl Clone for GroupInSpace
impl Clone for GroupInSpace
Source§impl Debug for GroupInSpace
impl Debug for GroupInSpace
impl Eq for GroupInSpace
Source§impl PartialEq for GroupInSpace
impl PartialEq for GroupInSpace
impl StructuralPartialEq for GroupInSpace
Auto Trait Implementations§
impl Forget for GroupInSpace
impl Freeze for GroupInSpace
impl Move for GroupInSpace
impl RefUnwindSafe for GroupInSpace
impl Send for GroupInSpace
impl Sync for GroupInSpace
impl Unpin for GroupInSpace
impl UnsafeUnpin for GroupInSpace
impl UnwindSafe for GroupInSpace
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.