pub enum InviteKind {
Group(Group),
ServerInvite(ServerInvite),
}Variants§
Group(Group)
ServerInvite(ServerInvite)
Trait Implementations§
Source§impl Clone for InviteKind
impl Clone for InviteKind
Source§fn clone(&self) -> InviteKind
fn clone(&self) -> InviteKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InviteKind
impl Debug for InviteKind
Source§impl<'de> Deserialize<'de> for InviteKind
impl<'de> Deserialize<'de> for InviteKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InviteKind
impl RefUnwindSafe for InviteKind
impl Send for InviteKind
impl Sync for InviteKind
impl Unpin for InviteKind
impl UnsafeUnpin for InviteKind
impl UnwindSafe for InviteKind
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