pub struct TaskView {
pub task_id: String,
pub kind: TaskKind,
pub label: String,
pub status: TaskStatus,
pub error: Option<String>,
pub started_at_ms: u64,
pub updated_at_ms: u64,
pub progress: TaskProgress,
}Fields§
§task_id: String§kind: TaskKind§label: StringOne human sentence naming what this job is doing, written by the server so the UI never has to assemble one from ids and paths.
status: TaskStatus§error: Option<String>§started_at_ms: u64Unix epoch milliseconds, from the server’s clock. The plan is explicit that the browser’s clock is not to be trusted for ordering, so both timestamps are stated rather than implied.
updated_at_ms: u64§progress: TaskProgressTrait Implementations§
Source§impl<'de> Deserialize<'de> for TaskView
impl<'de> Deserialize<'de> for TaskView
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 StructuralPartialEq for TaskView
Auto Trait Implementations§
impl Freeze for TaskView
impl RefUnwindSafe for TaskView
impl Send for TaskView
impl Sync for TaskView
impl Unpin for TaskView
impl UnsafeUnpin for TaskView
impl UnwindSafe for TaskView
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