pub struct GitWorktreeSnapshot {
pub path: OpaqueHostPath,
pub head: String,
pub branch: Option<String>,
pub is_bare: bool,
pub is_main: bool,
pub locked: bool,
pub lock_reason: Option<String>,
pub prunable: bool,
pub prunable_reason: Option<String>,
pub workspace_id: Option<WorkspaceId>,
}Fields§
§path: OpaqueHostPath§head: String§branch: Option<String>§is_bare: bool§is_main: bool§locked: bool§lock_reason: Option<String>§prunable: bool§prunable_reason: Option<String>§workspace_id: Option<WorkspaceId>Trait Implementations§
Source§impl Clone for GitWorktreeSnapshot
impl Clone for GitWorktreeSnapshot
Source§impl Debug for GitWorktreeSnapshot
impl Debug for GitWorktreeSnapshot
Source§impl<'de> Deserialize<'de> for GitWorktreeSnapshot
impl<'de> Deserialize<'de> for GitWorktreeSnapshot
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 GitWorktreeSnapshot
Source§impl PartialEq for GitWorktreeSnapshot
impl PartialEq for GitWorktreeSnapshot
Source§impl Serialize for GitWorktreeSnapshot
impl Serialize for GitWorktreeSnapshot
impl StructuralPartialEq for GitWorktreeSnapshot
Auto Trait Implementations§
impl Freeze for GitWorktreeSnapshot
impl RefUnwindSafe for GitWorktreeSnapshot
impl Send for GitWorktreeSnapshot
impl Sync for GitWorktreeSnapshot
impl Unpin for GitWorktreeSnapshot
impl UnsafeUnpin for GitWorktreeSnapshot
impl UnwindSafe for GitWorktreeSnapshot
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