[][src]Enum grammers_tl_types::enums::InputFileLocation

pub enum InputFileLocation {
    Location(InputFileLocation),
    InputEncryptedFileLocation(InputEncryptedFileLocation),
    InputDocumentFileLocation(InputDocumentFileLocation),
    InputSecureFileLocation(InputSecureFileLocation),
    InputTakeoutFileLocation(InputTakeoutFileLocation),
    InputPhotoFileLocation(InputPhotoFileLocation),
    InputPhotoLegacyFileLocation(InputPhotoLegacyFileLocation),
    InputPeerPhotoFileLocation(InputPeerPhotoFileLocation),
    InputStickerSetThumb(InputStickerSetThumb),
}

Variants

InputEncryptedFileLocation(InputEncryptedFileLocation)
InputDocumentFileLocation(InputDocumentFileLocation)
InputSecureFileLocation(InputSecureFileLocation)
InputTakeoutFileLocation(InputTakeoutFileLocation)
InputPhotoFileLocation(InputPhotoFileLocation)
InputPhotoLegacyFileLocation(InputPhotoLegacyFileLocation)
InputPeerPhotoFileLocation(InputPeerPhotoFileLocation)
InputStickerSetThumb(InputStickerSetThumb)

Trait Implementations

impl Clone for InputFileLocation[src]

impl Debug for InputFileLocation[src]

impl Deserializable for InputFileLocation[src]

impl From<InputDocumentFileLocation> for InputFileLocation[src]

impl From<InputEncryptedFileLocation> for InputFileLocation[src]

impl From<InputFileLocation> for InputFileLocation[src]

impl From<InputPeerPhotoFileLocation> for InputFileLocation[src]

impl From<InputPhotoFileLocation> for InputFileLocation[src]

impl From<InputPhotoLegacyFileLocation> for InputFileLocation[src]

impl From<InputSecureFileLocation> for InputFileLocation[src]

impl From<InputStickerSetThumb> for InputFileLocation[src]

impl From<InputTakeoutFileLocation> for InputFileLocation[src]

impl PartialEq<InputFileLocation> for InputFileLocation[src]

impl Serializable for InputFileLocation[src]

impl StructuralPartialEq for InputFileLocation[src]

impl TryFrom<InputFileLocation> for InputDocumentFileLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputFileLocation> for InputEncryptedFileLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputFileLocation> for InputFileLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputFileLocation> for InputPeerPhotoFileLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputFileLocation> for InputPhotoFileLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputFileLocation> for InputPhotoLegacyFileLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputFileLocation> for InputSecureFileLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputFileLocation> for InputStickerSetThumb[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputFileLocation> for InputTakeoutFileLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.