[−][src]Enum grammers_tl_types::enums::MessageMedia
Variants
Empty(MessageMediaEmpty)
Photo(MessageMediaPhoto)
Geo(MessageMediaGeo)
Contact(MessageMediaContact)
Unsupported(MessageMediaUnsupported)
Document(MessageMediaDocument)
WebPage(MessageMediaWebPage)
Venue(MessageMediaVenue)
Game(MessageMediaGame)
Invoice(MessageMediaInvoice)
GeoLive(MessageMediaGeoLive)
Poll(MessageMediaPoll)
Dice(MessageMediaDice)
Trait Implementations
impl Clone for MessageMedia
[src]
fn clone(&self) -> MessageMedia
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MessageMedia
[src]
impl Deserializable for MessageMedia
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<MessageMediaContact> for MessageMedia
[src]
fn from(x: MessageMediaContact) -> Self
[src]
impl From<MessageMediaDice> for MessageMedia
[src]
fn from(x: MessageMediaDice) -> Self
[src]
impl From<MessageMediaDocument> for MessageMedia
[src]
fn from(x: MessageMediaDocument) -> Self
[src]
impl From<MessageMediaEmpty> for MessageMedia
[src]
fn from(x: MessageMediaEmpty) -> Self
[src]
impl From<MessageMediaGame> for MessageMedia
[src]
fn from(x: MessageMediaGame) -> Self
[src]
impl From<MessageMediaGeo> for MessageMedia
[src]
fn from(x: MessageMediaGeo) -> Self
[src]
impl From<MessageMediaGeoLive> for MessageMedia
[src]
fn from(x: MessageMediaGeoLive) -> Self
[src]
impl From<MessageMediaInvoice> for MessageMedia
[src]
fn from(x: MessageMediaInvoice) -> Self
[src]
impl From<MessageMediaPhoto> for MessageMedia
[src]
fn from(x: MessageMediaPhoto) -> Self
[src]
impl From<MessageMediaPoll> for MessageMedia
[src]
fn from(x: MessageMediaPoll) -> Self
[src]
impl From<MessageMediaUnsupported> for MessageMedia
[src]
fn from(x: MessageMediaUnsupported) -> Self
[src]
impl From<MessageMediaVenue> for MessageMedia
[src]
fn from(x: MessageMediaVenue) -> Self
[src]
impl From<MessageMediaWebPage> for MessageMedia
[src]
fn from(x: MessageMediaWebPage) -> Self
[src]
impl PartialEq<MessageMedia> for MessageMedia
[src]
fn eq(&self, other: &MessageMedia) -> bool
[src]
fn ne(&self, other: &MessageMedia) -> bool
[src]
impl Serializable for MessageMedia
[src]
impl StructuralPartialEq for MessageMedia
[src]
impl TryFrom<MessageMedia> for MessageMediaContact
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaDice
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaUnsupported
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaVenue
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaWebPage
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaDocument
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaEmpty
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaGame
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaGeo
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaGeoLive
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaInvoice
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaPhoto
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageMedia> for MessageMediaPoll
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageMedia) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessageMedia
impl Send for MessageMedia
impl Sync for MessageMedia
impl Unpin for MessageMedia
impl UnwindSafe for MessageMedia
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,