pub struct TeamSnapshot {
pub config: TeamConfig,
pub tasks: Vec<TeamTask>,
pub member_panes: HashMap<String, String>,
pub last_scan: DateTime<Utc>,
pub task_done: usize,
pub task_total: usize,
pub task_in_progress: usize,
pub task_pending: usize,
}Expand description
Snapshot of a team’s state at a point in time
Fields§
§config: TeamConfigTeam configuration
tasks: Vec<TeamTask>Current tasks
member_panes: HashMap<String, String>Mapping of member_name → pane target
last_scan: DateTime<Utc>When this snapshot was last updated
task_done: usizePre-computed completed task count
task_total: usizePre-computed total task count
task_in_progress: usizePre-computed in-progress task count
task_pending: usizePre-computed pending task count
Trait Implementations§
Source§impl Clone for TeamSnapshot
impl Clone for TeamSnapshot
Source§fn clone(&self) -> TeamSnapshot
fn clone(&self) -> TeamSnapshot
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 moreAuto Trait Implementations§
impl Freeze for TeamSnapshot
impl RefUnwindSafe for TeamSnapshot
impl Send for TeamSnapshot
impl Sync for TeamSnapshot
impl Unpin for TeamSnapshot
impl UnsafeUnpin for TeamSnapshot
impl UnwindSafe for TeamSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.