pub struct Statistics {
pub commits_traversed: usize,
pub trees_decoded: usize,
pub trees_diffed: usize,
pub blobs_diffed: usize,
}
Expand description
Additional information about the performed operations.
Fields§
§commits_traversed: usize
The amount of commits it traversed until the blame was complete.
trees_decoded: usize
The amount of trees that were decoded to find the entry of the file to blame.
trees_diffed: usize
The amount of tree-diffs to see if the filepath was added, deleted or modified. These diffs are likely partial as they are cancelled as soon as a change to the blamed file is detected.
blobs_diffed: usize
The amount of blobs there were compared to each other to learn what changed between commits. Note that in order to diff a blob, one needs to load both versions from the database.
Trait Implementations§
Source§impl Clone for Statistics
impl Clone for Statistics
Source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Statistics
impl Debug for Statistics
Source§impl Default for Statistics
impl Default for Statistics
Source§fn default() -> Statistics
fn default() -> Statistics
Returns the “default value” for a type. Read more
impl Copy for Statistics
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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