pub struct SystemTask {
pub uuid: Uuid,
pub name: String,
pub full_name: String,
pub uid: Option<String>,
pub description: String,
pub start_timestamp: String,
pub finish_timestamp: String,
pub duration: f64,
pub status: SystemTaskStatusEnum,
pub messages: Vec<String>,
}
Expand description
SystemTask : Serialize TaskInfo and TaskResult
Fields§
§uuid: Uuid
§name: String
§full_name: String
Get full name with UID
uid: Option<String>
§description: String
§start_timestamp: String
§finish_timestamp: String
§duration: f64
§status: SystemTaskStatusEnum
§messages: Vec<String>
Implementations§
Trait Implementations§
Source§impl Clone for SystemTask
impl Clone for SystemTask
Source§fn clone(&self) -> SystemTask
fn clone(&self) -> SystemTask
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 SystemTask
impl Debug for SystemTask
Source§impl Default for SystemTask
impl Default for SystemTask
Source§fn default() -> SystemTask
fn default() -> SystemTask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemTask
impl<'de> Deserialize<'de> for SystemTask
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 PartialEq for SystemTask
impl PartialEq for SystemTask
Source§impl Serialize for SystemTask
impl Serialize for SystemTask
impl StructuralPartialEq for SystemTask
Auto Trait Implementations§
impl Freeze for SystemTask
impl RefUnwindSafe for SystemTask
impl Send for SystemTask
impl Sync for SystemTask
impl Unpin for SystemTask
impl UnwindSafe for SystemTask
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