BaseResponse

Struct BaseResponse 

Source
pub struct BaseResponse<T> {
    pub raw_response: RawResponse,
    pub data: Option<T>,
}
Expand description

业务返回值

Fields§

§raw_response: RawResponse

响应头

§data: Option<T>

具体数据

Implementations§

Source§

impl<T> BaseResponse<T>

Source

pub fn success(&self) -> bool

Source

pub fn code(&self) -> i32

Source

pub fn msg(&self) -> &str

Source

pub fn err(&self) -> Option<&ErrorInfo>

Source

pub fn error_code(&self) -> Option<LarkErrorCode>

获取语义化的错误码

Source

pub fn is_error_code(&self, code: LarkErrorCode) -> bool

检查是否为特定错误码

Source

pub fn is_permission_error(&self) -> bool

检查是否为权限相关错误

Source

pub fn is_auth_error(&self) -> bool

检查是否为认证相关错误

Source

pub fn is_server_error(&self) -> bool

检查是否为服务器错误

Source

pub fn is_client_error(&self) -> bool

检查是否为客户端错误

Source

pub fn is_retryable(&self) -> bool

检查是否可以重试

Source

pub fn suggested_retry_delay(&self) -> Option<u64>

获取建议的重试延迟时间

Source

pub fn data_or_error(self) -> Result<T, String>

获取数据或返回友好错误

Source

pub fn data_or_api_error(self) -> SDKResult<T>

获取数据或转换为LarkAPIError

Source

pub fn handle_common_errors(self) -> SDKResult<Self>

处理通用错误,返回处理后的响应或错误

Source

pub fn user_friendly_error(&self) -> Option<String>

获取用户友好的错误描述

Source

pub fn error_solutions(&self) -> Vec<String>

获取错误的建议解决方案

获取相关的帮助链接

Source

pub fn print_error_details(&self)

打印详细的错误信息(用于调试)

Trait Implementations§

Source§

impl<T: Debug> Debug for BaseResponse<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, T> Deserialize<'de> for BaseResponse<T>
where T: Deserialize<'de>,

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl ExecutableBuilder<AppService, CopyAppRequest, BaseResponse<CopyAppResponse>> for CopyAppRequestBuilder

Source§

fn build(self) -> CopyAppRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CopyAppResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CopyAppResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppService, CreateAppRequest, BaseResponse<CreateAppResponse>> for CreateAppRequestBuilder

Source§

fn build(self) -> CreateAppRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateAppResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateAppResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppService, GetAppRequest, BaseResponse<GetAppResponse>> for GetAppRequestBuilder

Source§

fn build(self) -> GetAppRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetAppResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetAppResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppService, UpdateAppRequest, BaseResponse<UpdateAppResponse>> for UpdateAppRequestBuilder

Source§

fn build(self) -> UpdateAppRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UpdateAppResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UpdateAppResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableRecordService, BatchCreateRecordRequest, BaseResponse<BatchCreateRecordResponse>> for BatchCreateRecordRequestBuilder

Source§

fn build(self) -> BatchCreateRecordRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchCreateRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchCreateRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableRecordService, BatchDeleteRecordRequest, BaseResponse<BatchDeleteRecordResponse>> for BatchDeleteRecordRequestBuilder

Source§

fn build(self) -> BatchDeleteRecordRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchDeleteRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchDeleteRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableRecordService, BatchGetRecordRequest, BaseResponse<BatchGetRecordResponse>> for BatchGetRecordRequestBuilder

Source§

fn build(self) -> BatchGetRecordRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchGetRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchGetRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableRecordService, BatchUpdateRecordRequest, BaseResponse<BatchUpdateRecordResponse>> for BatchUpdateRecordRequestBuilder

Source§

fn build(self) -> BatchUpdateRecordRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchUpdateRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchUpdateRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableRecordService, DeleteRecordRequest, BaseResponse<DeleteRecordResponse>> for DeleteRecordRequestBuilder

Source§

fn build(self) -> DeleteRecordRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableRecordService, SearchRecordRequest, BaseResponse<SearchRecordResponse>> for SearchRecordRequestBuilder

Source§

fn build(self) -> SearchRecordRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<SearchRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<SearchRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableRecordService, UpdateRecordRequest, BaseResponse<UpdateRecordResponse>> for UpdateRecordRequestBuilder

Source§

fn build(self) -> UpdateRecordRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UpdateRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableRecordService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UpdateRecordResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableService, BatchCreateTablesRequest, BaseResponse<BatchCreateTablesResponse>> for BatchCreateTablesRequestBuilder

Source§

fn build(self) -> BatchCreateTablesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchCreateTablesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchCreateTablesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableService, BatchDeleteTablesRequest, BaseResponse<BatchDeleteTablesResponse>> for BatchDeleteTablesRequestBuilder

Source§

fn build(self) -> BatchDeleteTablesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchDeleteTablesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchDeleteTablesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableService, CreateTableRequest, BaseResponse<CreateTableResponse>> for CreateTableRequestBuilder

Source§

fn build(self) -> CreateTableRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateTableResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateTableResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableService, DeleteTableRequest, BaseResponse<DeleteTableResponse>> for DeleteTableRequestBuilder

Source§

fn build(self) -> DeleteTableRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteTableResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteTableResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableService, ListTablesRequest, BaseResponse<ListTablesResponse>> for ListTablesRequestBuilder

Source§

fn build(self) -> ListTablesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListTablesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListTablesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableService, PatchTableRequest, BaseResponse<PatchTableResponse>> for PatchTableRequestBuilder

Source§

fn build(self) -> PatchTableRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<PatchTableResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<PatchTableResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableViewService, CreateViewRequest, BaseResponse<CreateViewResponse>> for CreateViewRequestBuilder

Source§

fn build(self) -> CreateViewRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableViewService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateViewResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableViewService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateViewResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableViewService, GetViewRequest, BaseResponse<GetViewResponse>> for GetViewRequestBuilder

Source§

fn build(self) -> GetViewRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableViewService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetViewResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableViewService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetViewResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableViewService, ListViewsRequest, BaseResponse<ListViewsResponse>> for ListViewsRequestBuilder

Source§

fn build(self) -> ListViewsRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableViewService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListViewsResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableViewService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListViewsResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<AppTableViewService, PatchViewRequest, BaseResponse<PatchViewResponse>> for PatchViewRequestBuilder

Source§

fn build(self) -> PatchViewRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 AppTableViewService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<PatchViewResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 AppTableViewService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<PatchViewResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<BoardService, ListWhiteboardNodesRequest, BaseResponse<ListWhiteboardNodesResponse>> for ListWhiteboardNodesRequestBuilder

Source§

fn build(self) -> ListWhiteboardNodesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 BoardService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListWhiteboardNodesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 BoardService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListWhiteboardNodesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<DocumentService, CreateDocumentRequest, BaseResponse<CreateDocumentRespData>> for CreateDocumentRequestBuilder

Source§

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,

执行请求并返回响应
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,

带选项执行请求
Source§

impl ExecutableBuilder<DocumentService, ListDocumentBlocksRequest, BaseResponse<ListDocumentBlocksRespData>> for ListDocumentBlocksRequestBuilder

Source§

fn build(self) -> ListDocumentBlocksRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 DocumentService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListDocumentBlocksRespData>>> + 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<ListDocumentBlocksRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<EventService, GetFileSubscriptionRequest, BaseResponse<GetFileSubscriptionRespData>> for GetFileSubscriptionRequestBuilder

Source§

fn build(self) -> GetFileSubscriptionRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 EventService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetFileSubscriptionRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 EventService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetFileSubscriptionRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<EventService, SubscribeFileEventsRequest, BaseResponse<SubscribeFileEventsRespData>> for SubscribeFileEventsRequestBuilder

Source§

fn build(self) -> SubscribeFileEventsRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 EventService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<SubscribeFileEventsRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 EventService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<SubscribeFileEventsRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<EventService, UnsubscribeFileEventsRequest, BaseResponse<UnsubscribeFileEventsRespData>> for UnsubscribeFileEventsRequestBuilder

Source§

fn build(self) -> UnsubscribeFileEventsRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 EventService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UnsubscribeFileEventsRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 EventService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UnsubscribeFileEventsRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<ExplorerService, CreateFolderRequest, BaseResponse<CreateFolderResponse>> for CreateFolderRequestBuilder

Source§

fn build(self) -> CreateFolderRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 ExplorerService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateFolderResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 ExplorerService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateFolderResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<ExplorerService, ListFolderRequest, BaseResponse<ListFolderResponse>> for ListFolderRequestBuilder

Source§

fn build(self) -> ListFolderRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 ExplorerService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListFolderResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 ExplorerService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListFolderResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<FileVersionService, CreateVersionRequest, BaseResponse<CreateVersionRespData>> for CreateVersionRequestBuilder

Source§

fn build(self) -> CreateVersionRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 FileVersionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateVersionRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 FileVersionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateVersionRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<FileVersionService, DeleteVersionRequest, BaseResponse<DeleteVersionRespData>> for DeleteVersionRequestBuilder

Source§

fn build(self) -> DeleteVersionRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 FileVersionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteVersionRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 FileVersionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteVersionRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<FileVersionService, GetVersionRequest, BaseResponse<GetVersionRespData>> for GetVersionRequestBuilder

Source§

fn build(self) -> GetVersionRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 FileVersionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetVersionRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 FileVersionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetVersionRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<FileVersionService, ListVersionsRequest, BaseResponse<ListVersionsRespData>> for ListVersionsRequestBuilder

Source§

fn build(self) -> ListVersionsRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 FileVersionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListVersionsRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 FileVersionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListVersionsRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<FolderService, ListFilesRequest, BaseResponse<ListFilesRespData>> for ListFilesRequestBuilder

Source§

fn build(self) -> ListFilesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 FolderService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListFilesRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 FolderService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListFilesRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<LikeService, ListFileLikesRequest, BaseResponse<ListFileLikesRespData>> for ListFileLikesRequestBuilder

Source§

fn build(self) -> ListFileLikesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 LikeService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListFileLikesRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 LikeService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListFileLikesRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<MediaService, UploadMediaRequest, BaseResponse<UploadMediaRespData>> for UploadMediaRequestBuilder

Source§

fn build(self) -> UploadMediaRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 MediaService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UploadMediaRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 MediaService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UploadMediaRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<MediaService, UploadPartRequest, BaseResponse<UploadPartRespData>> for UploadPartRequestBuilder

Source§

fn build(self) -> UploadPartRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 MediaService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UploadPartRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 MediaService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UploadPartRespData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<PermissionService, BatchCreatePermissionMemberRequest, BaseResponse<BatchCreatePermissionMemberResponse>> for BatchCreatePermissionMemberRequestBuilder

Source§

fn build(self) -> BatchCreatePermissionMemberRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 PermissionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchCreatePermissionMemberResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 PermissionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<BatchCreatePermissionMemberResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<PermissionService, CreatePermissionMemberRequest, BaseResponse<CreatePermissionMemberResponse>> for CreatePermissionMemberRequestBuilder

Source§

fn build(self) -> CreatePermissionMemberRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 PermissionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreatePermissionMemberResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 PermissionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreatePermissionMemberResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<PermissionService, GetPermissionPublicV2Request, BaseResponse<GetPermissionPublicV2Response>> for GetPermissionPublicV2RequestBuilder

Source§

fn build(self) -> GetPermissionPublicV2Request

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 PermissionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetPermissionPublicV2Response>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 PermissionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetPermissionPublicV2Response>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<PermissionService, ListPermissionMembersRequest, BaseResponse<ListPermissionMembersResponse>> for ListPermissionMembersRequestBuilder

Source§

fn build(self) -> ListPermissionMembersRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 PermissionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListPermissionMembersResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 PermissionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListPermissionMembersResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<PermissionService, PatchPermissionPublicV2Request, BaseResponse<PatchPermissionPublicV2Response>> for PatchPermissionPublicV2RequestBuilder

Source§

fn build(self) -> PatchPermissionPublicV2Request

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 PermissionService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<PatchPermissionPublicV2Response>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 PermissionService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<PatchPermissionPublicV2Response>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<PermissionsService, GetPermissionRequest, BaseResponse<GetPermissionResponse>> for GetPermissionRequestBuilder

Source§

fn build(self) -> GetPermissionRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 PermissionsService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetPermissionResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 PermissionsService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetPermissionResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<PermissionsService, PatchPermissionRequest, BaseResponse<GetPermissionResponse>> for PatchPermissionRequestBuilder

Source§

fn build(self) -> PatchPermissionRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 PermissionsService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetPermissionResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 PermissionsService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetPermissionResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SheetRowColService, DeleteRowsOrColumnsRequest, BaseResponse<DeleteRowsOrColumnsResponseData>> for DeleteRowsOrColumnsRequestBuilder

Source§

fn build(self) -> DeleteRowsOrColumnsRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SheetRowColService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteRowsOrColumnsResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SheetRowColService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteRowsOrColumnsResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SheetRowColService, InsertRowsOrColumnsRequest, BaseResponse<InsertRowsOrColumnsResponseData>> for InsertRowsOrColumnsRequestBuilder

Source§

fn build(self) -> InsertRowsOrColumnsRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SheetRowColService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<InsertRowsOrColumnsResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SheetRowColService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<InsertRowsOrColumnsResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpaceMemberService, CreateSpaceMemberRequest, BaseResponse<CreateSpaceMemberResponse>> for CreateSpaceMemberRequestBuilder

Source§

fn build(self) -> CreateSpaceMemberRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpaceMemberService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateSpaceMemberResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpaceMemberService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateSpaceMemberResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpaceService, CreateSpaceRequest, BaseResponse<CreateSpaceResponse>> for CreateSpaceRequestBuilder

Source§

fn build(self) -> CreateSpaceRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpaceService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateSpaceResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpaceService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateSpaceResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, AddProtectRangeRequest, BaseResponse<AddProtectRangeResponseData>> for AddProtectRangeRequestBuilder

Source§

fn build(self) -> AddProtectRangeRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<AddProtectRangeResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<AddProtectRangeResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, CreateSpreedSheetRequest, BaseResponse<CreateSpreedSheetResponseData>> for CreateSpreedSheetRequestBuilder

Source§

fn build(self) -> CreateSpreedSheetRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateSpreedSheetResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateSpreedSheetResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, DeleteDimensionRangeRequest, BaseResponse<DeleteDimensionRangeResponse>> for DeleteDimensionRangeRequestBuilder

Source§

fn build(self) -> DeleteDimensionRangeRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteDimensionRangeResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteDimensionRangeResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, GetSpreadsheetRequest, BaseResponse<GetSpreadsheetResponseData>> for GetSpreadsheetRequestBuilder

Source§

fn build(self) -> GetSpreadsheetRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetSpreadsheetResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetSpreadsheetResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, InsertDimensionRangeRequest, BaseResponse<EmptyResponse>> for InsertDimensionRangeRequestBuilder

Source§

fn build(self) -> InsertDimensionRangeRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<EmptyResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<EmptyResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, PatchSpreadSheetRequest, BaseResponse<RawResponse>> for PatchSpreadSheetRequestBuilder

Source§

fn build(self) -> PatchSpreadSheetRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<RawResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<RawResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, ReadingSingleRangeRequest, BaseResponse<ReadingSingleRangeResponse>> for ReadingSingleRangeRequestBuilder

Source§

fn build(self) -> ReadingSingleRangeRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ReadingSingleRangeResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ReadingSingleRangeResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, UpdateDimensionRangeRequest, BaseResponse<EmptyResponse>> for UpdateDimensionRangeRequestBuilder

Source§

fn build(self) -> UpdateDimensionRangeRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<EmptyResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<EmptyResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, WriteDataToMultiRangesRequest, BaseResponse<WriteDataToMultiRangesResponse>> for WriteDataToMultiRangesBuilder

Source§

fn build(self) -> WriteDataToMultiRangesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<WriteDataToMultiRangesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<WriteDataToMultiRangesResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetService, WriteDataToSingleRangeRequest, BaseResponse<SheetDataUpdates>> for WriteDataToSingleRangeBuilder

Source§

fn build(self) -> WriteDataToSingleRangeRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<WriteDataToSingleRangeResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<WriteDataToSingleRangeResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetFilterService, CreateSheetFilterRequest, BaseResponse<EmptyResponse>> for CreateSheetFilterRequestBuilder

Source§

fn build(self) -> CreateSheetFilterRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetFilterService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<EmptyResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetFilterService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<EmptyResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetFilterViewService, CreateFilterViewRequest, BaseResponse<CreateFilterViewResponseData>> for CreateFilterViewRequestBuilder

Source§

fn build(self) -> CreateFilterViewRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetFilterViewService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateFilterViewResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetFilterViewService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateFilterViewResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, AppendDataRequest, BaseResponse<UpdateSheetDataResponse>> for AppendDataRequestBuilder

Source§

fn build(self) -> AppendDataRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<AppendDataResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<AppendDataResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, CreateConditionFormatsRequest, BaseResponse<CreateConditionFormatsResponseData>> for CreateConditionFormatsRequestBuilder

Source§

fn build(self) -> CreateConditionFormatsRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateConditionFormatsResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateConditionFormatsResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, CreateFloatImageRequest, BaseResponse<CreateFloatImageResponseData>> for CreateFloatImageRequestBuilder

Source§

fn build(self) -> CreateFloatImageRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateFloatImageResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<CreateFloatImageResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, DeleteFloatImageRequest, BaseResponse<DeleteFloatImageResponseData>> for DeleteFloatImageRequestBuilder

Source§

fn build(self) -> DeleteFloatImageRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteFloatImageResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<DeleteFloatImageResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, GetFloatImageRequest, BaseResponse<GetFloatImageResponseData>> for GetFloatImageRequestBuilder

Source§

fn build(self) -> GetFloatImageRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetFloatImageResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetFloatImageResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, OperateSheetsRequest, BaseResponse<OperateSheetResponse>> for OperateSheetsRequestBuilder

Source§

fn build(self) -> OperateSheetsRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<OperateSheetResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<OperateSheetResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, QueryFloatImagesRequest, BaseResponse<QueryFloatImagesResponseData>> for QueryFloatImagesRequestBuilder

Source§

fn build(self) -> QueryFloatImagesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<QueryFloatImagesResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<QueryFloatImagesResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, SetDataValidationRequest, BaseResponse<SetDataValidationResponseData>> for SetDataValidationRequestBuilder

Source§

fn build(self) -> SetDataValidationRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<SetDataValidationResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<SetDataValidationResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, UpdateFloatImageRequest, BaseResponse<UpdateFloatImageResponseData>> for UpdateFloatImageRequestBuilder

Source§

fn build(self) -> UpdateFloatImageRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UpdateFloatImageResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<UpdateFloatImageResponseData>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl ExecutableBuilder<SpreadsheetSheetService, UpdateSheetPropertiesRequest, BaseResponse<OperateSheetResponse>> for UpdateSheetPropertiesRequestBuilder

Source§

fn build(self) -> UpdateSheetPropertiesRequest

构建请求对象
Source§

fn execute<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<OperateSheetResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

执行请求并返回响应
Source§

fn execute_with_options<'life0, 'async_trait>( self, service: &'life0 SpreadsheetSheetService, option: RequestOption, ) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<OperateSheetResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

带选项执行请求
Source§

impl<T> Serialize for BaseResponse<T>
where T: Serialize,

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<T> StandardResponse<T> for BaseResponse<T>

Source§

fn into_result(self) -> SDKResult<T>

将响应转换为统一的Result格式 Read more
Source§

fn data_or_default(self) -> T
where T: Default,

获取响应数据,失败时返回默认值 Read more

Auto Trait Implementations§

§

impl<T> Freeze for BaseResponse<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for BaseResponse<T>
where T: RefUnwindSafe,

§

impl<T> Send for BaseResponse<T>
where T: Send,

§

impl<T> Sync for BaseResponse<T>
where T: Sync,

§

impl<T> Unpin for BaseResponse<T>
where T: Unpin,

§

impl<T> UnwindSafe for BaseResponse<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,