pub struct Invite {
pub id: i64,
pub date: DateTime<Utc>,
pub source: i64,
pub dest: i64,
pub chan: i64,
}Expand description
An invitation sent from source, to dest, for the chan.
Fields§
§id: i64Invitation unique ID, locally generated
date: DateTime<Utc>Whenever the invitation has been created
source: i64The user who’s inviting
dest: i64The user who’s being invited
chan: i64The channel dest user is being invited into
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Invite
impl RefUnwindSafe for Invite
impl Send for Invite
impl Sync for Invite
impl Unpin for Invite
impl UnsafeUnpin for Invite
impl UnwindSafe for Invite
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