Struct utapi_rs::models::list_files::UploadthingFile
source · pub struct UploadthingFile {
pub key: String,
pub id: String,
pub status: UploadthingFileStatus,
pub name: String,
}
Expand description
A representation of an uploaded file within the system.
This struct is used to deserialize information about files that have been uploaded, including their key, unique identifier, and current status.
Fields§
§key: String
A unique key associated with the file, typically used for retrieval.
id: String
A unique identifier for the file, often a UUID.
status: UploadthingFileStatus
The current status of the file, indicating whether it’s pending, completed, etc.
name: String
The name of the file.
Trait Implementations§
source§impl Debug for UploadthingFile
impl Debug for UploadthingFile
source§impl<'de> Deserialize<'de> for UploadthingFile
impl<'de> Deserialize<'de> for UploadthingFile
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UploadthingFile
impl Send for UploadthingFile
impl Sync for UploadthingFile
impl Unpin for UploadthingFile
impl UnwindSafe for UploadthingFile
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more