pub struct UserPdfUploadRequest {
pub file_size: usize,
}
Expand description
Request indicating the size of an image for upload.
Fields§
§file_size: usize
The size of the Pdf 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 UserPdfUploadRequest
impl Debug for UserPdfUploadRequest
Source§impl<'de> Deserialize<'de> for UserPdfUploadRequest
impl<'de> Deserialize<'de> for UserPdfUploadRequest
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 UserPdfUploadRequest
impl RefUnwindSafe for UserPdfUploadRequest
impl Send for UserPdfUploadRequest
impl Sync for UserPdfUploadRequest
impl Unpin for UserPdfUploadRequest
impl UnwindSafe for UserPdfUploadRequest
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