pub struct CheckAsyncTaskRespData {
pub status: String,
pub error_msg: Option<String>,
}Expand description
查询异步任务状态响应数据
Fields§
§status: String任务状态,PENDING: 等待中,SUCCESS: 成功,FAILURE: 失败
error_msg: Option<String>任务错误信息(如果失败)
Trait Implementations§
Source§impl ApiResponseTrait for CheckAsyncTaskRespData
impl ApiResponseTrait for CheckAsyncTaskRespData
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 CheckAsyncTaskRespData
impl Clone for CheckAsyncTaskRespData
Source§fn clone(&self) -> CheckAsyncTaskRespData
fn clone(&self) -> CheckAsyncTaskRespData
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 CheckAsyncTaskRespData
impl Debug for CheckAsyncTaskRespData
Source§impl<'de> Deserialize<'de> for CheckAsyncTaskRespData
impl<'de> Deserialize<'de> for CheckAsyncTaskRespData
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
Auto Trait Implementations§
impl Freeze for CheckAsyncTaskRespData
impl RefUnwindSafe for CheckAsyncTaskRespData
impl Send for CheckAsyncTaskRespData
impl Sync for CheckAsyncTaskRespData
impl Unpin for CheckAsyncTaskRespData
impl UnwindSafe for CheckAsyncTaskRespData
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