pub enum InviteLinkChatType {
BasicGroup,
Supergroup,
Channel,
}
Variants§
BasicGroup
The link is an invite link for a basic group
Supergroup
The link is an invite link for a supergroup
Channel
The link is an invite link for a channel
Trait Implementations§
Source§impl Clone for InviteLinkChatType
impl Clone for InviteLinkChatType
Source§fn clone(&self) -> InviteLinkChatType
fn clone(&self) -> InviteLinkChatType
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 InviteLinkChatType
impl Debug for InviteLinkChatType
Source§impl<'de> Deserialize<'de> for InviteLinkChatType
impl<'de> Deserialize<'de> for InviteLinkChatType
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
Source§impl PartialEq for InviteLinkChatType
impl PartialEq for InviteLinkChatType
Source§impl Serialize for InviteLinkChatType
impl Serialize for InviteLinkChatType
impl StructuralPartialEq for InviteLinkChatType
Auto Trait Implementations§
impl Freeze for InviteLinkChatType
impl RefUnwindSafe for InviteLinkChatType
impl Send for InviteLinkChatType
impl Sync for InviteLinkChatType
impl Unpin for InviteLinkChatType
impl UnwindSafe for InviteLinkChatType
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