pub async fn upload(
client: &mut Client,
file_path: PathBuf,
options: &UploadOptions,
) -> Result<UploadedImage, UploadError>
Expand description
Uploads an image file denoted by file_path
using the given options
to
the Uploads.im image upload API.