pub struct GitRepositorySnapshot {
pub repository_root: PathBuf,
pub workspace_root: PathBuf,
pub branch: GitBranchStatus,
pub files: Vec<GitFileStatus>,
pub context_diff: GitContextDiff,
}Fields§
§repository_root: PathBuf§workspace_root: PathBuf§branch: GitBranchStatus§files: Vec<GitFileStatus>§context_diff: GitContextDiffTrait Implementations§
Source§impl Clone for GitRepositorySnapshot
impl Clone for GitRepositorySnapshot
Source§fn clone(&self) -> GitRepositorySnapshot
fn clone(&self) -> GitRepositorySnapshot
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 GitRepositorySnapshot
impl Debug for GitRepositorySnapshot
impl Eq for GitRepositorySnapshot
Source§impl PartialEq for GitRepositorySnapshot
impl PartialEq for GitRepositorySnapshot
impl StructuralPartialEq for GitRepositorySnapshot
Auto Trait Implementations§
impl Freeze for GitRepositorySnapshot
impl RefUnwindSafe for GitRepositorySnapshot
impl Send for GitRepositorySnapshot
impl Sync for GitRepositorySnapshot
impl Unpin for GitRepositorySnapshot
impl UnsafeUnpin for GitRepositorySnapshot
impl UnwindSafe for GitRepositorySnapshot
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