[−][src]Enum grammers_tl_types::enums::InputMedia
Variants
Empty(InputMediaEmpty)
UploadedPhoto(InputMediaUploadedPhoto)
Photo(InputMediaPhoto)
GeoPoint(InputMediaGeoPoint)
Contact(InputMediaContact)
UploadedDocument(InputMediaUploadedDocument)
Document(InputMediaDocument)
Venue(InputMediaVenue)
GifExternal(InputMediaGifExternal)
PhotoExternal(InputMediaPhotoExternal)
DocumentExternal(InputMediaDocumentExternal)
Game(InputMediaGame)
Invoice(InputMediaInvoice)
GeoLive(InputMediaGeoLive)
Poll(InputMediaPoll)
Dice(InputMediaDice)
Trait Implementations
impl Clone for InputMedia
[src]
fn clone(&self) -> InputMedia
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InputMedia
[src]
impl Deserializable for InputMedia
[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<InputMediaContact> for InputMedia
[src]
fn from(x: InputMediaContact) -> Self
[src]
impl From<InputMediaDice> for InputMedia
[src]
fn from(x: InputMediaDice) -> Self
[src]
impl From<InputMediaDocument> for InputMedia
[src]
fn from(x: InputMediaDocument) -> Self
[src]
impl From<InputMediaDocumentExternal> for InputMedia
[src]
fn from(x: InputMediaDocumentExternal) -> Self
[src]
impl From<InputMediaEmpty> for InputMedia
[src]
fn from(x: InputMediaEmpty) -> Self
[src]
impl From<InputMediaGame> for InputMedia
[src]
fn from(x: InputMediaGame) -> Self
[src]
impl From<InputMediaGeoLive> for InputMedia
[src]
fn from(x: InputMediaGeoLive) -> Self
[src]
impl From<InputMediaGeoPoint> for InputMedia
[src]
fn from(x: InputMediaGeoPoint) -> Self
[src]
impl From<InputMediaGifExternal> for InputMedia
[src]
fn from(x: InputMediaGifExternal) -> Self
[src]
impl From<InputMediaInvoice> for InputMedia
[src]
fn from(x: InputMediaInvoice) -> Self
[src]
impl From<InputMediaPhoto> for InputMedia
[src]
fn from(x: InputMediaPhoto) -> Self
[src]
impl From<InputMediaPhotoExternal> for InputMedia
[src]
fn from(x: InputMediaPhotoExternal) -> Self
[src]
impl From<InputMediaPoll> for InputMedia
[src]
fn from(x: InputMediaPoll) -> Self
[src]
impl From<InputMediaUploadedDocument> for InputMedia
[src]
fn from(x: InputMediaUploadedDocument) -> Self
[src]
impl From<InputMediaUploadedPhoto> for InputMedia
[src]
fn from(x: InputMediaUploadedPhoto) -> Self
[src]
impl From<InputMediaVenue> for InputMedia
[src]
fn from(x: InputMediaVenue) -> Self
[src]
impl PartialEq<InputMedia> for InputMedia
[src]
fn eq(&self, other: &InputMedia) -> bool
[src]
fn ne(&self, other: &InputMedia) -> bool
[src]
impl Serializable for InputMedia
[src]
impl StructuralPartialEq for InputMedia
[src]
impl TryFrom<InputMedia> for InputMediaContact
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaDice
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaPhoto
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaPhotoExternal
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaPoll
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaUploadedDocument
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaUploadedPhoto
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaVenue
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaDocument
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaDocumentExternal
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaEmpty
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaGame
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaGeoLive
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaGeoPoint
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaGifExternal
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputMedia> for InputMediaInvoice
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputMedia) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputMedia
impl Send for InputMedia
impl Sync for InputMedia
impl Unpin for InputMedia
impl UnwindSafe for InputMedia
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>,