pub struct GitRepoInfo<'a> {
pub nonce: u16,
pub repo_id: u16,
pub status: u8,
pub oid_format: u8,
pub flags: u8,
pub workdir: &'a str,
pub gitdir: &'a str,
}Expand description
A decoded S2C_GIT_REPO.
Fields§
§nonce: u16§repo_id: u16§status: u8§oid_format: u8§flags: u8§workdir: &'a strCanonical worktree root (empty for bare); a diagnostic on failure.
gitdir: &'a strTrait Implementations§
Source§impl<'a> Clone for GitRepoInfo<'a>
impl<'a> Clone for GitRepoInfo<'a>
Source§fn clone(&self) -> GitRepoInfo<'a>
fn clone(&self) -> GitRepoInfo<'a>
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<'a> Debug for GitRepoInfo<'a>
impl<'a> Debug for GitRepoInfo<'a>
impl<'a> Eq for GitRepoInfo<'a>
Source§impl<'a> PartialEq for GitRepoInfo<'a>
impl<'a> PartialEq for GitRepoInfo<'a>
impl<'a> StructuralPartialEq for GitRepoInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for GitRepoInfo<'a>
impl<'a> RefUnwindSafe for GitRepoInfo<'a>
impl<'a> Send for GitRepoInfo<'a>
impl<'a> Sync for GitRepoInfo<'a>
impl<'a> Unpin for GitRepoInfo<'a>
impl<'a> UnsafeUnpin for GitRepoInfo<'a>
impl<'a> UnwindSafe for GitRepoInfo<'a>
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