#[non_exhaustive]pub struct TaskListResult {
pub tasks: Vec<TaskListEntry>,
}Expand description
task/list result: one row per live workload, background and foreground,
oldest first; empty when nothing is running.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tasks: Vec<TaskListEntry>The session’s live task rows.
Trait Implementations§
Source§impl Clone for TaskListResult
impl Clone for TaskListResult
Source§impl Debug for TaskListResult
impl Debug for TaskListResult
Source§impl<'de> Deserialize<'de> for TaskListResult
impl<'de> Deserialize<'de> for TaskListResult
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
impl Eq for TaskListResult
Source§impl PartialEq for TaskListResult
impl PartialEq for TaskListResult
Source§impl Serialize for TaskListResult
impl Serialize for TaskListResult
impl StructuralPartialEq for TaskListResult
Auto Trait Implementations§
impl Forget for TaskListResult
impl Freeze for TaskListResult
impl Move for TaskListResult
impl RefUnwindSafe for TaskListResult
impl Send for TaskListResult
impl Sync for TaskListResult
impl Unpin for TaskListResult
impl UnsafeUnpin for TaskListResult
impl UnwindSafe for TaskListResult
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