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
use serde::Deserialize;

/// Represents the response received from an attempt to delete a file.
///
/// This struct is used to deserialize the JSON response returned by the server
/// when a file deletion operation is performed. The `success` field indicates
/// whether the deletion was successful.
#[derive(Debug, Deserialize)]
pub struct DeleteFileResponse {
    /// A boolean indicating whether the file was successfully deleted.
    pub success: bool,
}