Enum rust_tdlib::types::PublicChatType [−][src]
pub enum PublicChatType { HasUsername(PublicChatTypeHasUsername), IsLocationBased(PublicChatTypeIsLocationBased), // some variants omitted }
Expand description
Describes a type of public chats
Variants
HasUsername(PublicChatTypeHasUsername)
The chat is public, because it has username
IsLocationBased(PublicChatTypeIsLocationBased)
The chat is public, because it is a location-based supergroup
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PublicChatType
impl Send for PublicChatType
impl Sync for PublicChatType
impl Unpin for PublicChatType
impl UnwindSafe for PublicChatType
Blanket Implementations
Mutably borrows from an owned value. Read more