pub struct TaskView {
pub task_id: String,
pub state: String,
pub message_count: usize,
pub last_message_preview: Option<String>,
}Expand description
View model for a task in a list
Fields§
§task_id: String§state: String§message_count: usize§last_message_preview: Option<String>Implementations§
Trait Implementations§
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