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
sourceimpl AsRef<TMeUrlType> for TMeUrlType
impl AsRef<TMeUrlType> for TMeUrlType
sourcefn as_ref(&self) -> &TMeUrlType
fn as_ref(&self) -> &TMeUrlType
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for TMeUrlType
impl Clone for TMeUrlType
sourcefn clone(&self) -> TMeUrlType
fn clone(&self) -> TMeUrlType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TMeUrlType
impl Debug for TMeUrlType
sourceimpl Default for TMeUrlType
impl Default for TMeUrlType
sourceimpl<'de> Deserialize<'de> for TMeUrlType
impl<'de> Deserialize<'de> for TMeUrlType
sourcefn 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
sourceimpl Serialize for TMeUrlType
impl Serialize for TMeUrlType
Auto Trait Implementations
impl RefUnwindSafe for TMeUrlType
impl Send for TMeUrlType
impl Sync for TMeUrlType
impl Unpin for TMeUrlType
impl UnwindSafe for TMeUrlType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more