pub struct DocumentUploadUrlRequest {
pub key: String,
/* private fields */
}Expand description
Upload URL request (POST /llm-application/open/document/upload_url)
Fields§
§key: StringBearer API key
Implementations§
Source§impl DocumentUploadUrlRequest
impl DocumentUploadUrlRequest
pub fn new(key: String, body: UploadUrlBody) -> Self
pub fn body_mut(&mut self) -> &mut UploadUrlBody
Sourcepub async fn send(&self) -> Result<UploadUrlResponse>
pub async fn send(&self) -> Result<UploadUrlResponse>
Validate and send
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DocumentUploadUrlRequest
impl RefUnwindSafe for DocumentUploadUrlRequest
impl Send for DocumentUploadUrlRequest
impl Sync for DocumentUploadUrlRequest
impl Unpin for DocumentUploadUrlRequest
impl UnwindSafe for DocumentUploadUrlRequest
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