pub struct JoinedSpace {
pub space: SpaceId,
pub name: String,
pub member: EntityId,
pub role: MemberRole,
pub person: Option<(EntityId, String)>,
pub synced: Synced,
pub refused: usize,
}Expand description
A space that this library joined by an invitation, and its first sync.
Fields§
§space: SpaceIdThe space.
name: StringIts name, as the admin’s device has it.
member: EntityIdThe user’s member record there.
role: MemberRoleThe role it gave.
person: Option<(EntityId, String)>The person in the space whom the admin names the user, by ID and name, if any: the
link holds once the user agrees, with Library::link_member.
synced: SyncedThe first sync of the space, with the admin’s replica.
refused: usizeHow many blobs and changes its first sync refused, as the disk would have had less than 1 GiB free.
Trait Implementations§
Auto Trait Implementations§
impl Forget for JoinedSpace
impl Freeze for JoinedSpace
impl Move for JoinedSpace
impl RefUnwindSafe for JoinedSpace
impl Send for JoinedSpace
impl Sync for JoinedSpace
impl Unpin for JoinedSpace
impl UnsafeUnpin for JoinedSpace
impl UnwindSafe for JoinedSpace
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