pub enum PublicChatType {
HasUsername,
IsLocationBased,
}
Variants§
HasUsername
The chat is public, because it has an active username
IsLocationBased
The chat is public, because it is a location-based supergroup
Trait Implementations§
Source§impl Clone for PublicChatType
impl Clone for PublicChatType
Source§fn clone(&self) -> PublicChatType
fn clone(&self) -> PublicChatType
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 PublicChatType
impl Debug for PublicChatType
Source§impl<'de> Deserialize<'de> for PublicChatType
impl<'de> Deserialize<'de> for PublicChatType
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 PublicChatType
impl PartialEq for PublicChatType
Source§impl Serialize for PublicChatType
impl Serialize for PublicChatType
impl StructuralPartialEq for PublicChatType
Auto Trait Implementations§
impl Freeze for PublicChatType
impl RefUnwindSafe for PublicChatType
impl Send for PublicChatType
impl Sync for PublicChatType
impl Unpin for PublicChatType
impl UnwindSafe for PublicChatType
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