pub enum RecentMeUrl {
Unknown(RecentMeUrlUnknown),
User(RecentMeUrlUser),
Chat(RecentMeUrlChat),
ChatInvite(RecentMeUrlChatInvite),
StickerSet(RecentMeUrlStickerSet),
}Expand description
Variants§
Unknown(RecentMeUrlUnknown)
User(RecentMeUrlUser)
Chat(RecentMeUrlChat)
ChatInvite(RecentMeUrlChatInvite)
StickerSet(RecentMeUrlStickerSet)
Trait Implementations§
Source§impl Clone for RecentMeUrl
impl Clone for RecentMeUrl
Source§fn clone(&self) -> RecentMeUrl
fn clone(&self) -> RecentMeUrl
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 RecentMeUrl
impl Debug for RecentMeUrl
Source§impl Deserializable for RecentMeUrl
impl Deserializable for RecentMeUrl
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<RecentMeUrlChat> for RecentMeUrl
impl From<RecentMeUrlChat> for RecentMeUrl
Source§fn from(x: RecentMeUrlChat) -> Self
fn from(x: RecentMeUrlChat) -> Self
Converts to this type from the input type.
Source§impl From<RecentMeUrlChatInvite> for RecentMeUrl
impl From<RecentMeUrlChatInvite> for RecentMeUrl
Source§fn from(x: RecentMeUrlChatInvite) -> Self
fn from(x: RecentMeUrlChatInvite) -> Self
Converts to this type from the input type.
Source§impl From<RecentMeUrlStickerSet> for RecentMeUrl
impl From<RecentMeUrlStickerSet> for RecentMeUrl
Source§fn from(x: RecentMeUrlStickerSet) -> Self
fn from(x: RecentMeUrlStickerSet) -> Self
Converts to this type from the input type.
Source§impl From<RecentMeUrlUnknown> for RecentMeUrl
impl From<RecentMeUrlUnknown> for RecentMeUrl
Source§fn from(x: RecentMeUrlUnknown) -> Self
fn from(x: RecentMeUrlUnknown) -> Self
Converts to this type from the input type.
Source§impl From<RecentMeUrlUser> for RecentMeUrl
impl From<RecentMeUrlUser> for RecentMeUrl
Source§fn from(x: RecentMeUrlUser) -> Self
fn from(x: RecentMeUrlUser) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RecentMeUrl
impl PartialEq for RecentMeUrl
Source§impl Serializable for RecentMeUrl
impl Serializable for RecentMeUrl
Source§impl TryFrom<RecentMeUrl> for RecentMeUrlChat
impl TryFrom<RecentMeUrl> for RecentMeUrlChat
Source§type Error = RecentMeUrl
type Error = RecentMeUrl
The type returned in the event of a conversion error.
Source§impl TryFrom<RecentMeUrl> for RecentMeUrlChatInvite
impl TryFrom<RecentMeUrl> for RecentMeUrlChatInvite
Source§type Error = RecentMeUrl
type Error = RecentMeUrl
The type returned in the event of a conversion error.
Source§impl TryFrom<RecentMeUrl> for RecentMeUrlStickerSet
impl TryFrom<RecentMeUrl> for RecentMeUrlStickerSet
Source§type Error = RecentMeUrl
type Error = RecentMeUrl
The type returned in the event of a conversion error.
Source§impl TryFrom<RecentMeUrl> for RecentMeUrlUnknown
impl TryFrom<RecentMeUrl> for RecentMeUrlUnknown
Source§type Error = RecentMeUrl
type Error = RecentMeUrl
The type returned in the event of a conversion error.
Source§impl TryFrom<RecentMeUrl> for RecentMeUrlUser
impl TryFrom<RecentMeUrl> for RecentMeUrlUser
Source§type Error = RecentMeUrl
type Error = RecentMeUrl
The type returned in the event of a conversion error.
impl StructuralPartialEq for RecentMeUrl
Auto Trait Implementations§
impl Freeze for RecentMeUrl
impl RefUnwindSafe for RecentMeUrl
impl Send for RecentMeUrl
impl Sync for RecentMeUrl
impl Unpin for RecentMeUrl
impl UnsafeUnpin for RecentMeUrl
impl UnwindSafe for RecentMeUrl
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