pub struct CreateFileResponse {
pub file_key: String,
}Expand description
上传文件响应
Fields§
§file_key: String文件的key
Trait Implementations§
Source§impl ApiResponseTrait for CreateFileResponse
impl ApiResponseTrait for CreateFileResponse
Source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
是否是标准数据格式, 既是用data包裹数据
fn from_binary(_file_name: String, _body: Vec<u8>) -> Option<Self>
Source§impl Clone for CreateFileResponse
impl Clone for CreateFileResponse
Source§fn clone(&self) -> CreateFileResponse
fn clone(&self) -> CreateFileResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateFileResponse
impl Debug for CreateFileResponse
Source§impl<'de> Deserialize<'de> for CreateFileResponse
impl<'de> Deserialize<'de> for CreateFileResponse
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
Source§impl ExecutableBuilder<FileService, FileUploadRequest, CreateFileResponse> for FileUploadBuilder
impl ExecutableBuilder<FileService, FileUploadRequest, CreateFileResponse> for FileUploadBuilder
Source§fn build(self) -> FileUploadRequest
fn build(self) -> FileUploadRequest
构建请求对象
Source§fn execute<'life0, 'async_trait>(
self,
service: &'life0 FileService,
) -> Pin<Box<dyn Future<Output = SDKResult<CreateFileResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
self,
service: &'life0 FileService,
) -> Pin<Box<dyn Future<Output = SDKResult<CreateFileResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
执行请求并返回响应
Source§fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 FileService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<CreateFileResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 FileService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<CreateFileResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
带选项执行请求
Auto Trait Implementations§
impl Freeze for CreateFileResponse
impl RefUnwindSafe for CreateFileResponse
impl Send for CreateFileResponse
impl Sync for CreateFileResponse
impl Unpin for CreateFileResponse
impl UnwindSafe for CreateFileResponse
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