pub struct GitRepositoryStructure {
pub common_directory: PathBuf,
pub selection: GitRepositorySelection,
pub worktrees: Vec<GitWorktreeEntry>,
}Expand description
Structurally validated Git repository evidence.
Fields§
§common_directory: PathBufCanonical Git common directory shared by every discovered worktree.
selection: GitRepositorySelectionHow the supplied path selected this repository.
worktrees: Vec<GitWorktreeEntry>Deterministic primary-then-registration inventory.
Trait Implementations§
Source§impl Clone for GitRepositoryStructure
impl Clone for GitRepositoryStructure
Source§fn clone(&self) -> GitRepositoryStructure
fn clone(&self) -> GitRepositoryStructure
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 GitRepositoryStructure
impl Debug for GitRepositoryStructure
impl Eq for GitRepositoryStructure
Source§impl PartialEq for GitRepositoryStructure
impl PartialEq for GitRepositoryStructure
Source§fn eq(&self, other: &GitRepositoryStructure) -> bool
fn eq(&self, other: &GitRepositoryStructure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitRepositoryStructure
Auto Trait Implementations§
impl Freeze for GitRepositoryStructure
impl RefUnwindSafe for GitRepositoryStructure
impl Send for GitRepositoryStructure
impl Sync for GitRepositoryStructure
impl Unpin for GitRepositoryStructure
impl UnsafeUnpin for GitRepositoryStructure
impl UnwindSafe for GitRepositoryStructure
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.