pub enum TreeNodeId {
Project(String),
Worktree(String),
Team(String),
Agent(SessionId),
}Expand description
Unique identifier for a tree node, used for expand/collapse state tracking.
Variants§
Project(String)
A project node, keyed by project root path.
Worktree(String)
A worktree node, keyed by worktree path.
Team(String)
A team node (placeholder for CC Agent Teams).
Agent(SessionId)
An agent (session) node, keyed by session ID.
Trait Implementations§
Source§impl Clone for TreeNodeId
impl Clone for TreeNodeId
Source§fn clone(&self) -> TreeNodeId
fn clone(&self) -> TreeNodeId
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 moreSource§impl Debug for TreeNodeId
impl Debug for TreeNodeId
Source§impl Hash for TreeNodeId
impl Hash for TreeNodeId
Source§impl PartialEq for TreeNodeId
impl PartialEq for TreeNodeId
impl Eq for TreeNodeId
impl StructuralPartialEq for TreeNodeId
Auto Trait Implementations§
impl Freeze for TreeNodeId
impl RefUnwindSafe for TreeNodeId
impl Send for TreeNodeId
impl Sync for TreeNodeId
impl Unpin for TreeNodeId
impl UnsafeUnpin for TreeNodeId
impl UnwindSafe for TreeNodeId
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