pub struct WorktreeInfo {
pub worktree: WorktreeRef,
pub dirty: Option<bool>,
pub jobs: Vec<String>,
}Expand description
A worktree SCV created, as scv agents worktrees lists it.
Fields§
§worktree: WorktreeRefWhere it is, its branch, and the repository it belongs to.
dirty: Option<bool>Whether it has uncommitted changes; absent when git could not tell.
jobs: Vec<String>The jobs recorded as working in it, as <session>/<job>.
Trait Implementations§
Source§impl Clone for WorktreeInfo
impl Clone for WorktreeInfo
Source§impl Debug for WorktreeInfo
impl Debug for WorktreeInfo
Source§impl<'de> Deserialize<'de> for WorktreeInfo
impl<'de> Deserialize<'de> for WorktreeInfo
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 WorktreeInfo
Source§impl PartialEq for WorktreeInfo
impl PartialEq for WorktreeInfo
Source§impl Serialize for WorktreeInfo
impl Serialize for WorktreeInfo
impl StructuralPartialEq for WorktreeInfo
Auto Trait Implementations§
impl Freeze for WorktreeInfo
impl RefUnwindSafe for WorktreeInfo
impl Send for WorktreeInfo
impl Sync for WorktreeInfo
impl Unpin for WorktreeInfo
impl UnsafeUnpin for WorktreeInfo
impl UnwindSafe for WorktreeInfo
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