[−][src]Enum grammers_tl_types::enums::InputFileLocation
Variants
Location(InputFileLocation)
InputEncryptedFileLocation(InputEncryptedFileLocation)
InputDocumentFileLocation(InputDocumentFileLocation)
InputSecureFileLocation(InputSecureFileLocation)
InputTakeoutFileLocation(InputTakeoutFileLocation)
InputPhotoFileLocation(InputPhotoFileLocation)
InputPhotoLegacyFileLocation(InputPhotoLegacyFileLocation)
InputPeerPhotoFileLocation(InputPeerPhotoFileLocation)
InputStickerSetThumb(InputStickerSetThumb)
Trait Implementations
impl Clone for InputFileLocation
[src]
fn clone(&self) -> InputFileLocation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InputFileLocation
[src]
impl Deserializable for InputFileLocation
[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<InputDocumentFileLocation> for InputFileLocation
[src]
fn from(x: InputDocumentFileLocation) -> Self
[src]
impl From<InputEncryptedFileLocation> for InputFileLocation
[src]
fn from(x: InputEncryptedFileLocation) -> Self
[src]
impl From<InputFileLocation> for InputFileLocation
[src]
fn from(x: InputFileLocation) -> Self
[src]
impl From<InputPeerPhotoFileLocation> for InputFileLocation
[src]
fn from(x: InputPeerPhotoFileLocation) -> Self
[src]
impl From<InputPhotoFileLocation> for InputFileLocation
[src]
fn from(x: InputPhotoFileLocation) -> Self
[src]
impl From<InputPhotoLegacyFileLocation> for InputFileLocation
[src]
fn from(x: InputPhotoLegacyFileLocation) -> Self
[src]
impl From<InputSecureFileLocation> for InputFileLocation
[src]
fn from(x: InputSecureFileLocation) -> Self
[src]
impl From<InputStickerSetThumb> for InputFileLocation
[src]
fn from(x: InputStickerSetThumb) -> Self
[src]
impl From<InputTakeoutFileLocation> for InputFileLocation
[src]
fn from(x: InputTakeoutFileLocation) -> Self
[src]
impl PartialEq<InputFileLocation> for InputFileLocation
[src]
fn eq(&self, other: &InputFileLocation) -> bool
[src]
fn ne(&self, other: &InputFileLocation) -> bool
[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.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputFileLocation> for InputEncryptedFileLocation
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputFileLocation> for InputFileLocation
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputFileLocation> for InputPeerPhotoFileLocation
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputFileLocation> for InputPhotoFileLocation
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputFileLocation> for InputPhotoLegacyFileLocation
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputFileLocation> for InputSecureFileLocation
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputFileLocation> for InputStickerSetThumb
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputFileLocation> for InputTakeoutFileLocation
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputFileLocation) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputFileLocation
impl Send for InputFileLocation
impl Sync for InputFileLocation
impl Unpin for InputFileLocation
impl UnwindSafe for InputFileLocation
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>,