Struct project2::repository::FakeGitRepositoryState
source · pub struct FakeGitRepositoryState {
pub index_contents: HashMap<PathBuf, String, RandomState>,
pub worktree_statuses: HashMap<RepoPath, GitFileStatus, RandomState>,
pub branch_name: Option<String>,
}
Fields§
§index_contents: HashMap<PathBuf, String, RandomState>
§worktree_statuses: HashMap<RepoPath, GitFileStatus, RandomState>
§branch_name: Option<String>
Trait Implementations§
source§impl Clone for FakeGitRepositoryState
impl Clone for FakeGitRepositoryState
source§fn clone(&self) -> FakeGitRepositoryState
fn clone(&self) -> FakeGitRepositoryState
Returns a copy of the value. Read more
1.0.0 · 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 FakeGitRepositoryState
impl Debug for FakeGitRepositoryState
source§impl Default for FakeGitRepositoryState
impl Default for FakeGitRepositoryState
source§fn default() -> FakeGitRepositoryState
fn default() -> FakeGitRepositoryState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FakeGitRepositoryState
impl Send for FakeGitRepositoryState
impl Sync for FakeGitRepositoryState
impl Unpin for FakeGitRepositoryState
impl UnwindSafe for FakeGitRepositoryState
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