pub struct Invitee {
pub user: EntityId,
pub user_name: String,
pub device: String,
pub app: String,
pub same_user: Vec<SpaceMember>,
pub was_member: bool,
}Expand description
Who asks to join a space, as the admin’s device shows them before the person confirms: the user, by ID and name, the names of the device and app that ask, the members whose records name the same user ID, and whether the user was a member before.
Fields§
§user: EntityIdThe user’s ID.
user_name: StringThe user’s name, as their library has it.
device: StringThe name of the device that asks.
app: StringThe name of its app.
same_user: Vec<SpaceMember>The members, with a role, whose records name the same user ID: a new member is another all the same.
was_member: boolWhether a member record of the same user has the role none: the user was a member, left or was removed, and comes back as a new member.
Trait Implementations§
impl Eq for Invitee
impl StructuralPartialEq for Invitee
Auto Trait Implementations§
impl Forget for Invitee
impl Freeze for Invitee
impl Move for Invitee
impl RefUnwindSafe for Invitee
impl Send for Invitee
impl Sync for Invitee
impl Unpin for Invitee
impl UnsafeUnpin for Invitee
impl UnwindSafe for Invitee
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.