Struct rust_tdlib::types::GetFileExtension [−][src]
pub struct GetFileExtension { /* fields omitted */ }Expand description
Returns the extension of a file, guessed by its MIME type. 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 GetFileExtensionimpl Send for GetFileExtensionimpl Sync for GetFileExtensionimpl Unpin for GetFileExtensionimpl UnwindSafe for GetFileExtensionBlanket Implementations
Mutably borrows from an owned value. Read more