utapi-rs 0.1.2

A Rust wrapper around the UploadThing API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;

#[derive(Debug, Deserialize)]
/// Represents the status of a file being uploaded.
pub enum UploadthingFileStatus {
    /// The file is marked for deletion but not yet deleted.
    DeletionPending,
    /// The file failed to upload.
    Failed,
    /// The file has been successfully uploaded.
    Uploaded,
    /// The file is currently being uploaded.
    Uploading,
}