pub struct CreateDocumentRequestBuilder { /* private fields */ }Expand description
创建文档请求构建器
Implementations§
Trait Implementations§
Source§impl Default for CreateDocumentRequestBuilder
impl Default for CreateDocumentRequestBuilder
Source§fn default() -> CreateDocumentRequestBuilder
fn default() -> CreateDocumentRequestBuilder
Returns the “default value” for a type. Read more
Source§impl ExecutableBuilder<DocumentService, CreateDocumentRequest, BaseResponse<CreateDocumentRespData>> for CreateDocumentRequestBuilder
impl ExecutableBuilder<DocumentService, CreateDocumentRequest, BaseResponse<CreateDocumentRespData>> for CreateDocumentRequestBuilder
Source§fn build(self) -> CreateDocumentRequest
fn build(self) -> CreateDocumentRequest
构建请求对象
Source§fn execute<'life0, 'async_trait>(
self,
service: &'life0 DocumentService,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateDocumentRespData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
self,
service: &'life0 DocumentService,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateDocumentRespData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
执行请求并返回响应
Source§fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 DocumentService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateDocumentRespData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 DocumentService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateDocumentRespData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
带选项执行请求
Auto Trait Implementations§
impl Freeze for CreateDocumentRequestBuilder
impl RefUnwindSafe for CreateDocumentRequestBuilder
impl Send for CreateDocumentRequestBuilder
impl Sync for CreateDocumentRequestBuilder
impl Unpin for CreateDocumentRequestBuilder
impl UnwindSafe for CreateDocumentRequestBuilder
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