Struct rtdlib::types::GetFileExtension
source · [−]pub struct GetFileExtension { /* private fields */ }
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>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetFileExtension
impl Send for GetFileExtension
impl Sync for GetFileExtension
impl Unpin for GetFileExtension
impl UnwindSafe for GetFileExtension
Blanket Implementations
Mutably borrows from an owned value. Read more