pub struct C2GitWorktreeSnapshot {
pub path: OpaqueHostPath,
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<WorkspaceId>,
}Fields§
§path: OpaqueHostPath§head: String§branch: Option<String>§is_bare: bool§is_main: bool§locked: bool§prunable: bool§workspace_id: Option<WorkspaceId>Trait Implementations§
Source§impl Clone for C2GitWorktreeSnapshot
impl Clone for C2GitWorktreeSnapshot
Source§impl Debug for C2GitWorktreeSnapshot
impl Debug for C2GitWorktreeSnapshot
Source§impl<'de> Deserialize<'de> for C2GitWorktreeSnapshot
impl<'de> Deserialize<'de> for C2GitWorktreeSnapshot
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 C2GitWorktreeSnapshot
Source§impl From<&GitWorktreeSnapshot> for C2GitWorktreeSnapshot
impl From<&GitWorktreeSnapshot> for C2GitWorktreeSnapshot
Source§fn from(worktree: &GitWorktreeSnapshot) -> Self
fn from(worktree: &GitWorktreeSnapshot) -> Self
Converts to this type from the input type.
Source§impl PartialEq for C2GitWorktreeSnapshot
impl PartialEq for C2GitWorktreeSnapshot
Source§impl Serialize for C2GitWorktreeSnapshot
impl Serialize for C2GitWorktreeSnapshot
impl StructuralPartialEq for C2GitWorktreeSnapshot
Auto Trait Implementations§
impl Freeze for C2GitWorktreeSnapshot
impl RefUnwindSafe for C2GitWorktreeSnapshot
impl Send for C2GitWorktreeSnapshot
impl Sync for C2GitWorktreeSnapshot
impl Unpin for C2GitWorktreeSnapshot
impl UnsafeUnpin for C2GitWorktreeSnapshot
impl UnwindSafe for C2GitWorktreeSnapshot
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