Enum rust_tdlib::types::TMeUrlType
source · pub enum TMeUrlType {
ChatInvite(Box<TMeUrlTypeChatInvite>),
StickerSet(TMeUrlTypeStickerSet),
Supergroup(TMeUrlTypeSupergroup),
User(TMeUrlTypeUser),
// some variants omitted
}
Expand description
Describes the type of a URL linking to an internal Telegram entity
Variants§
ChatInvite(Box<TMeUrlTypeChatInvite>)
A chat invite link
StickerSet(TMeUrlTypeStickerSet)
A URL linking to a sticker set
Supergroup(TMeUrlTypeSupergroup)
A URL linking to a public supergroup or channel
User(TMeUrlTypeUser)
A URL linking to a user
Implementations§
Trait Implementations§
source§impl AsRef<TMeUrlType> for TMeUrlType
impl AsRef<TMeUrlType> for TMeUrlType
source§fn as_ref(&self) -> &TMeUrlType
fn as_ref(&self) -> &TMeUrlType
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for TMeUrlType
impl Clone for TMeUrlType
source§fn clone(&self) -> TMeUrlType
fn clone(&self) -> TMeUrlType
Returns a copy 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 TMeUrlType
impl Debug for TMeUrlType
source§impl Default for TMeUrlType
impl Default for TMeUrlType
source§fn default() -> TMeUrlType
fn default() -> TMeUrlType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TMeUrlType
impl<'de> Deserialize<'de> for TMeUrlType
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