Enum grammers_tl_types::enums::storage::FileType
source · pub enum FileType {
FileUnknown,
FilePartial,
FileJpeg,
FileGif,
FilePng,
FilePdf,
FileMp3,
FileMov,
FileMp4,
FileWebp,
}
Variants§
Trait Implementations§
source§impl Deserializable for FileType
impl Deserializable for FileType
source§impl From<FilePartial> for FileType
impl From<FilePartial> for FileType
source§fn from(_x: FilePartial) -> Self
fn from(_x: FilePartial) -> Self
Converts to this type from the input type.
source§impl From<FileUnknown> for FileType
impl From<FileUnknown> for FileType
source§fn from(_x: FileUnknown) -> Self
fn from(_x: FileUnknown) -> Self
Converts to this type from the input type.
source§impl PartialEq for FileType
impl PartialEq for FileType
source§impl Serializable for FileType
impl Serializable for FileType
source§impl TryFrom<FileType> for FilePartial
impl TryFrom<FileType> for FilePartial
source§impl TryFrom<FileType> for FileUnknown
impl TryFrom<FileType> for FileUnknown
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more