pub struct UploadthingFileResponse {
pub files: Vec<UploadthingFile>,
}
Expand description
A response structure containing a list of UploadthingFile
objects.
This is typically used to send a collection of uploaded file information back to a client, encapsulating the data in a single struct for convenience.
Fields§
§files: Vec<UploadthingFile>
A vector of UploadthingFile
objects representing each file’s data.
Trait Implementations§
Source§impl Debug for UploadthingFileResponse
impl Debug for UploadthingFileResponse
Source§impl<'de> Deserialize<'de> for UploadthingFileResponse
impl<'de> Deserialize<'de> for UploadthingFileResponse
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 Freeze for UploadthingFileResponse
impl RefUnwindSafe for UploadthingFileResponse
impl Send for UploadthingFileResponse
impl Sync for UploadthingFileResponse
impl Unpin for UploadthingFileResponse
impl UnwindSafe for UploadthingFileResponse
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