pub struct Invitation {
pub space: SpaceId,
pub role: MemberRole,
pub person: Option<EntityId>,
}Expand description
What an invitation is to: a shared space, the role it gives, and the person in the space
whom it names the new user, which the user agrees to after joining
(Library::link_member).
Fields§
§space: SpaceIdThe space.
role: MemberRoleThe role it gives: viewer, editor or admin.
person: Option<EntityId>The person in the space whom it names the new user, if any.
Trait Implementations§
Source§impl Clone for Invitation
impl Clone for Invitation
impl Copy for Invitation
Auto Trait Implementations§
impl Forget for Invitation
impl Freeze for Invitation
impl Move for Invitation
impl RefUnwindSafe for Invitation
impl Send for Invitation
impl Sync for Invitation
impl Unpin for Invitation
impl UnsafeUnpin for Invitation
impl UnwindSafe for Invitation
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