pub struct UploadResponse {
pub id: String,
pub url: String,
pub filename: String,
pub size_bytes: i64,
pub mime_type: String,
pub expires_at: i64,
pub delete_token: String,
}Expand description
JSON response returned by a successful upload.
Fields§
§id: String§url: String§filename: String§size_bytes: i64§mime_type: String§expires_at: i64§delete_token: StringTrait Implementations§
Source§impl ComposeSchema for UploadResponse
impl ComposeSchema for UploadResponse
Source§impl Serialize for UploadResponse
impl Serialize for UploadResponse
Auto Trait Implementations§
impl Freeze for UploadResponse
impl RefUnwindSafe for UploadResponse
impl Send for UploadResponse
impl Sync for UploadResponse
impl Unpin for UploadResponse
impl UnwindSafe for UploadResponse
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