pub struct BlameInfo {
pub line_no: i64,
pub revision: Revnum,
pub revprops: HashMap<String, Vec<u8>>,
pub merged_revision: Option<Revnum>,
pub merged_revprops: HashMap<String, Vec<u8>>,
pub merged_path: Option<String>,
pub line: String,
pub local_change: bool,
}Expand description
Information about a line in a blamed file
Fields§
§line_no: i64Line number in the file.
revision: RevnumRevision that last modified this line.
revprops: HashMap<String, Vec<u8>>Revision properties.
merged_revision: Option<Revnum>Merged revision if this line came from a merge.
merged_revprops: HashMap<String, Vec<u8>>Properties of the merged revision.
merged_path: Option<String>Path of the merged file.
line: StringThe actual line content.
local_change: boolWhether this line has local changes.
Auto Trait Implementations§
impl Freeze for BlameInfo
impl RefUnwindSafe for BlameInfo
impl Send for BlameInfo
impl Sync for BlameInfo
impl Unpin for BlameInfo
impl UnsafeUnpin for BlameInfo
impl UnwindSafe for BlameInfo
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