utapi_rs/models/file_status.rs
1use serde::Deserialize;
2
3#[derive(Debug, Deserialize)]
4/// Represents the status of a file being uploaded.
5pub enum UploadthingFileStatus {
6 /// The file is marked for deletion but not yet deleted.
7 DeletionPending,
8 /// The file failed to upload.
9 Failed,
10 /// The file has been successfully uploaded.
11 Uploaded,
12 /// The file is currently being uploaded.
13 Uploading,
14}