pub struct Upload;
Expand description
Upload a pdf file. Returns a pre-signed URL for upload to Google Cloud Storage.
Notes:
- can be used to update the raw data associated with the pdf file.
Trait Implementations§
Source§impl ApiEndpoint for Upload
impl ApiEndpoint for Upload
Source§type Path = UserPdfUploadPath
type Path = UserPdfUploadPath
The path type for this endpoint.
Source§type Req = UserPdfUploadRequest
type Req = UserPdfUploadRequest
The request type for this endpoint.
Source§type Res = UserPdfUploadResponse
type Res = UserPdfUploadResponse
The response type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for Upload
impl RefUnwindSafe for Upload
impl Send for Upload
impl Sync for Upload
impl Unpin for Upload
impl UnwindSafe for Upload
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