pub struct WorktreeEntry {
pub branch: String,
pub worktree_path: PathBuf,
pub cli: String,
}Expand description
A worktree entry within a session.
Fields§
§branch: StringThe branch checked out in this worktree.
worktree_path: PathBufAbsolute path to the worktree directory.
cli: StringThe AI CLI assigned to this worktree.
Trait Implementations§
Source§impl Clone for WorktreeEntry
impl Clone for WorktreeEntry
Source§fn clone(&self) -> WorktreeEntry
fn clone(&self) -> WorktreeEntry
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 WorktreeEntry
impl Debug for WorktreeEntry
Source§impl<'de> Deserialize<'de> for WorktreeEntry
impl<'de> Deserialize<'de> for WorktreeEntry
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
Source§impl PartialEq for WorktreeEntry
impl PartialEq for WorktreeEntry
Source§impl Serialize for WorktreeEntry
impl Serialize for WorktreeEntry
impl Eq for WorktreeEntry
impl StructuralPartialEq for WorktreeEntry
Auto Trait Implementations§
impl Freeze for WorktreeEntry
impl RefUnwindSafe for WorktreeEntry
impl Send for WorktreeEntry
impl Sync for WorktreeEntry
impl Unpin for WorktreeEntry
impl UnsafeUnpin for WorktreeEntry
impl UnwindSafe for WorktreeEntry
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