pub struct TeamEntry {
pub project_id: String,
pub root: PathBuf,
pub tmux_prefix: String,
pub agents: Vec<String>,
pub started_at: String,
}Expand description
One running team: a single (project_id, root) pair plus the metadata
ps / reaping / the same-name guard need. Field names serialize verbatim
(snake_case), matching every other persisted teamctl store.
Fields§
§project_id: StringProject id as declared in the compose (bare, e.g. main).
root: PathBufAbsolute, canonicalized team root (the directory up recorded —
the same value tagged onto the tmux session as @teamctl-root).
tmux_prefix: StringSupervisor tmux prefix in effect when the team came up.
agents: Vec<String>Sorted agent names belonging to this project.
started_at: StringRFC3339 timestamp of when this entry was first recorded by up.
Preserved across an idempotent re-up so uptime doesn’t reset.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TeamEntry
impl<'de> Deserialize<'de> for TeamEntry
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 TeamEntry
impl StructuralPartialEq for TeamEntry
Auto Trait Implementations§
impl Freeze for TeamEntry
impl RefUnwindSafe for TeamEntry
impl Send for TeamEntry
impl Sync for TeamEntry
impl Unpin for TeamEntry
impl UnsafeUnpin for TeamEntry
impl UnwindSafe for TeamEntry
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.