pub struct HarnessGitWorktreeSnapshotV1 {
pub path: HarnessHostPathV1,
pub head: String,
pub branch: Option<String>,
pub is_bare: bool,
pub is_main: bool,
pub locked: bool,
pub prunable: bool,
pub workspace_id: Option<String>,
}Expand description
The other half of CreateWorktree’s reply. Mirrors the node’s own
GitWorktreeSnapshot, minus lock_reason/prunable_reason (free-text
reason strings the node’s own C2-facing mirror, C2GitWorktreeSnapshot,
already drops – this wire never receives them to begin with).
Fields§
§path: HarnessHostPathV1§head: String§branch: Option<String>§is_bare: bool§is_main: bool§locked: bool§prunable: bool§workspace_id: Option<String>Trait Implementations§
Source§impl Clone for HarnessGitWorktreeSnapshotV1
impl Clone for HarnessGitWorktreeSnapshotV1
Source§impl Debug for HarnessGitWorktreeSnapshotV1
impl Debug for HarnessGitWorktreeSnapshotV1
Source§impl<'de> Deserialize<'de> for HarnessGitWorktreeSnapshotV1
impl<'de> Deserialize<'de> for HarnessGitWorktreeSnapshotV1
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 HarnessGitWorktreeSnapshotV1
impl StructuralPartialEq for HarnessGitWorktreeSnapshotV1
Auto Trait Implementations§
impl Freeze for HarnessGitWorktreeSnapshotV1
impl RefUnwindSafe for HarnessGitWorktreeSnapshotV1
impl Send for HarnessGitWorktreeSnapshotV1
impl Sync for HarnessGitWorktreeSnapshotV1
impl Unpin for HarnessGitWorktreeSnapshotV1
impl UnsafeUnpin for HarnessGitWorktreeSnapshotV1
impl UnwindSafe for HarnessGitWorktreeSnapshotV1
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