pub struct InviteTarget<'a> {
pub user_id: i64,
pub displayname: &'a str,
}Expand description
The invitee of apply_invite: the resolved internal user id and the
effective label to stamp into their invite event as displayname.
Fields§
§user_id: i64§displayname: &'a strTrait Implementations§
Source§impl<'a> Clone for InviteTarget<'a>
impl<'a> Clone for InviteTarget<'a>
impl<'a> Copy for InviteTarget<'a>
Auto Trait Implementations§
impl<'a> Freeze for InviteTarget<'a>
impl<'a> RefUnwindSafe for InviteTarget<'a>
impl<'a> Send for InviteTarget<'a>
impl<'a> Sync for InviteTarget<'a>
impl<'a> Unpin for InviteTarget<'a>
impl<'a> UnsafeUnpin for InviteTarget<'a>
impl<'a> UnwindSafe for InviteTarget<'a>
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