[−][src]Function uploads_im_client::upload
pub async fn upload<'_, '_>(
client: &'_ mut Client,
file_path: PathBuf,
options: &'_ UploadOptions
) -> Result<UploadedImage, UploadError>
Uploads an image file denoted by file_path
using the given options
to
the Uploads.im image upload API.