pub struct GitBlameRequest<'a> {
pub nonce: u16,
pub repo_id: u16,
pub flags: u8,
pub oid: GitOid,
pub start_line: u32,
pub line_count: u32,
pub path: &'a str,
}Expand description
A decoded C2S_GIT_BLAME.
Fields§
§nonce: u16§repo_id: u16§flags: u8§oid: GitOidThe commit to blame from; zero = HEAD. The worktree is not
blameable (INVALID).
start_line: u321-based; 0 is treated as 1. This is also how a truncated blame
resumes: re-issue with start_line one past the CURSOR’s pos.
line_count: u320 = to end of file, subject to the line budget.
path: &'a strTrait Implementations§
Source§impl<'a> Clone for GitBlameRequest<'a>
impl<'a> Clone for GitBlameRequest<'a>
Source§fn clone(&self) -> GitBlameRequest<'a>
fn clone(&self) -> GitBlameRequest<'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 GitBlameRequest<'a>
impl<'a> Debug for GitBlameRequest<'a>
impl<'a> Eq for GitBlameRequest<'a>
Source§impl<'a> PartialEq for GitBlameRequest<'a>
impl<'a> PartialEq for GitBlameRequest<'a>
impl<'a> StructuralPartialEq for GitBlameRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for GitBlameRequest<'a>
impl<'a> RefUnwindSafe for GitBlameRequest<'a>
impl<'a> Send for GitBlameRequest<'a>
impl<'a> Sync for GitBlameRequest<'a>
impl<'a> Unpin for GitBlameRequest<'a>
impl<'a> UnsafeUnpin for GitBlameRequest<'a>
impl<'a> UnwindSafe for GitBlameRequest<'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