useserde::{Deserialize, Serialize};/// Result of a successful upload operation.
#[derive(Clone, Debug, Serialize, Deserialize)]pubstructUploadResult{/// The bucket where the file was uploaded.
pubbucket: String,
/// The object key in the bucket.
pubkey: String,
/// The public URL to access the file.
pubpublic_url: String,
/// The ETag returned by S3 (usually the MD5 hash).
pubetag:Option<String>,
/// The content type of the uploaded file.
pubcontent_type: String,
/// The size of the uploaded file in bytes.
pubsize:u64,
}