pub struct Options {
pub diff_algorithm: Algorithm,
pub range: BlameRanges,
pub since: Option<Time>,
pub rewrites: Option<Rewrites>,
pub debug_track_path: bool,
}Expand description
Options to be passed to file().
Fields§
§diff_algorithm: AlgorithmThe algorithm to use for diffing.
range: BlameRangesThe ranges to blame in the file.
since: Option<Time>Don’t consider commits before the given date.
rewrites: Option<Rewrites>Determine if rename tracking should be performed, and how.
debug_track_path: boolCollect debug information whenever there’s a diff or rename that affects the outcome of a blame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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