pub struct GitWorktreeEntry {
pub role: GitWorktreeRole,
pub administrative_directory: PathBuf,
pub state: GitWorktreeState,
}Expand description
One Git worktree administrative entry and its current structural state.
Fields§
§role: GitWorktreeRoleStructural role represented by this entry.
administrative_directory: PathBufCanonical Git administrative directory, stable across a Git-managed move.
This locator is structural evidence, not a durable identity by itself: a later recreation may reuse the same administrative path. Persistence stores the opaque filesystem identity that distinguishes that lifecycle boundary.
state: GitWorktreeStateCurrent read-only registration state.
Trait Implementations§
Source§impl Clone for GitWorktreeEntry
impl Clone for GitWorktreeEntry
Source§fn clone(&self) -> GitWorktreeEntry
fn clone(&self) -> GitWorktreeEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitWorktreeEntry
impl Debug for GitWorktreeEntry
impl Eq for GitWorktreeEntry
Source§impl PartialEq for GitWorktreeEntry
impl PartialEq for GitWorktreeEntry
Source§fn eq(&self, other: &GitWorktreeEntry) -> bool
fn eq(&self, other: &GitWorktreeEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitWorktreeEntry
Auto Trait Implementations§
impl Freeze for GitWorktreeEntry
impl RefUnwindSafe for GitWorktreeEntry
impl Send for GitWorktreeEntry
impl Sync for GitWorktreeEntry
impl Unpin for GitWorktreeEntry
impl UnsafeUnpin for GitWorktreeEntry
impl UnwindSafe for GitWorktreeEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.