[−][src]Enum grammers_tl_types::enums::storage::FileType
Variants
FileUnknown(FileUnknown)
FilePartial(FilePartial)
FileJpeg(FileJpeg)
FileGif(FileGif)
FilePng(FilePng)
FilePdf(FilePdf)
FileMp3(FileMp3)
FileMov(FileMov)
FileMp4(FileMp4)
FileWebp(FileWebp)
Trait Implementations
impl Clone for FileType
[src]
impl Debug for FileType
[src]
impl Deserializable for FileType
[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<FileGif> for FileType
[src]
impl From<FileJpeg> for FileType
[src]
impl From<FileMov> for FileType
[src]
impl From<FileMp3> for FileType
[src]
impl From<FileMp4> for FileType
[src]
impl From<FilePartial> for FileType
[src]
fn from(x: FilePartial) -> Self
[src]
impl From<FilePdf> for FileType
[src]
impl From<FilePng> for FileType
[src]
impl From<FileUnknown> for FileType
[src]
fn from(x: FileUnknown) -> Self
[src]
impl From<FileWebp> for FileType
[src]
impl PartialEq<FileType> for FileType
[src]
impl Serializable for FileType
[src]
impl StructuralPartialEq for FileType
[src]
impl TryFrom<FileType> for FileGif
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FileJpeg
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FileMov
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FileMp3
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FileMp4
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FilePartial
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FilePdf
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FilePng
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FileUnknown
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: FileType) -> Result<Self, Self::Error>
[src]
impl TryFrom<FileType> for FileWebp
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
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>,