pub struct AsyncSendProgress {
pub progress_in_percent: i32,
pub status: i32,
}
Fields§
§progress_in_percent: i32
取值0~100,表示处理的百分比
status: i32
任务执行状态: 0:未开始 1:处理中 2:处理完毕
Trait Implementations§
Source§impl Debug for AsyncSendProgress
impl Debug for AsyncSendProgress
Source§impl Default for AsyncSendProgress
impl Default for AsyncSendProgress
Source§fn default() -> AsyncSendProgress
fn default() -> AsyncSendProgress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AsyncSendProgress
impl<'de> Deserialize<'de> for AsyncSendProgress
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 AsyncSendProgress
impl RefUnwindSafe for AsyncSendProgress
impl Send for AsyncSendProgress
impl Sync for AsyncSendProgress
impl Unpin for AsyncSendProgress
impl UnwindSafe for AsyncSendProgress
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