Struct git_scanner::git::GitDetails [−][src]
Git information for a given day, summarized we don’t distinguish multiple changes in a day currently, so if one person changed 1 line and another changed 100 you can’t tell the difference. It is assumed that people work as teams to some degree! This could be revisited if needed, but I’m trying to keep the log size sane Also dates are summarized by “author date” - had to pick author or commit date, and author dates seem more reliable. But it’s named “commit_day” as that’s more understandable
Fields
commit_day: u64
Note this is based on “author date” - commit dates can be all over the place with PRs, rebasing and the like.
users: HashSet<usize>
commits: u64
lines_added: u64
lines_deleted: u64
Trait Implementations
impl Debug for GitDetails
[src]
impl<'de> Deserialize<'de> for GitDetails
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for GitDetails
[src]
impl Ord for GitDetails
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<GitDetails> for GitDetails
[src]
fn eq(&self, other: &GitDetails) -> bool
[src]
fn ne(&self, other: &GitDetails) -> bool
[src]
impl PartialOrd<GitDetails> for GitDetails
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for GitDetails
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for GitDetails
[src]
impl StructuralPartialEq for GitDetails
[src]
Auto Trait Implementations
impl RefUnwindSafe for GitDetails
impl Send for GitDetails
impl Sync for GitDetails
impl Unpin for GitDetails
impl UnwindSafe for GitDetails
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,