pub struct InvitationData {
pub inviter: ParticipantId,
pub timestamp: DateTime<Utc>,
pub affinity: InvitationAffinity,
}
Expand description
Metadata for the invitation to the user to join a conversation.
Fields§
§inviter: ParticipantId
ID of the participant who created the invitation.
timestamp: DateTime<Utc>
Time of invitation.
affinity: InvitationAffinity
Trait Implementations§
Source§impl Clone for InvitationData
impl Clone for InvitationData
Source§fn clone(&self) -> InvitationData
fn clone(&self) -> InvitationData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InvitationData
impl Debug for InvitationData
Source§impl PartialEq for InvitationData
impl PartialEq for InvitationData
impl StructuralPartialEq for InvitationData
Auto Trait Implementations§
impl Freeze for InvitationData
impl RefUnwindSafe for InvitationData
impl Send for InvitationData
impl Sync for InvitationData
impl Unpin for InvitationData
impl UnwindSafe for InvitationData
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