pub struct BlameLine {
pub oid: ObjectId,
pub final_lineno: usize,
pub orig_lineno: usize,
pub content: String,
pub source_file: Option<String>,
pub ignored: bool,
pub unblamable: bool,
pub external_contents: bool,
}Expand description
A single line attribution.
Fields§
§oid: ObjectId§final_lineno: usize1-based line number in the final file.
orig_lineno: usize1-based line number in the originating commit.
content: String§source_file: Option<String>Source filename (differs from target when -C detects a copy).
ignored: boolTrue when this line was forced through an ignored revision.
unblamable: boolTrue when this line could not be blamed past an ignored revision.
external_contents: boolLine comes from --contents and does not match the blamed revision (git: “External file”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlameLine
impl RefUnwindSafe for BlameLine
impl Send for BlameLine
impl Sync for BlameLine
impl Unpin for BlameLine
impl UnsafeUnpin for BlameLine
impl UnwindSafe for BlameLine
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