pub struct ImageUploadRequest {
pub file_size: usize,
}
Expand description
Request to indicate the size of an image for upload.
Fields§
§file_size: usize
The size of the image to be uploaded in bytes. Allows the API server to check that the file size is within limits and as a verification at GCS that the entire file was uploaded
Trait Implementations§
Source§impl Debug for ImageUploadRequest
impl Debug for ImageUploadRequest
Source§impl<'de> Deserialize<'de> for ImageUploadRequest
impl<'de> Deserialize<'de> for ImageUploadRequest
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 ImageUploadRequest
impl RefUnwindSafe for ImageUploadRequest
impl Send for ImageUploadRequest
impl Sync for ImageUploadRequest
impl Unpin for ImageUploadRequest
impl UnwindSafe for ImageUploadRequest
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