Struct rust_tdlib::types::GetFileMimeType  [−][src]
pub struct GetFileMimeType { /* fields omitted */ }Expand description
Returns the MIME type of a file, guessed by its extension. Returns an empty string on failure. Can be called synchronously
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetFileMimeTypeimpl Send for GetFileMimeTypeimpl Sync for GetFileMimeTypeimpl Unpin for GetFileMimeTypeimpl UnwindSafe for GetFileMimeTypeBlanket Implementations
Mutably borrows from an owned value. Read more