pub struct GitActivityView {
pub churn_score: f32,
pub churn_bar: String,
pub churn_label: String,
pub commit_count: u32,
pub last_relative: String,
pub last_hash: String,
pub last_message: String,
pub last_author: String,
pub last_timestamp: String,
pub owners: Vec<String>,
pub co_changes: Vec<(String, f32, u32)>,
}Expand description
Git activity snapshot for a single file (owned, display-ready).
Fields§
§churn_score: f32§churn_bar: String§churn_label: String§commit_count: u32§last_relative: String§last_hash: String§last_message: String§last_timestamp: String§owners: Vec<String>§co_changes: Vec<(String, f32, u32)>Trait Implementations§
Source§impl Clone for GitActivityView
impl Clone for GitActivityView
Source§fn clone(&self) -> GitActivityView
fn clone(&self) -> GitActivityView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitActivityView
impl Debug for GitActivityView
Source§impl PartialEq for GitActivityView
impl PartialEq for GitActivityView
Source§fn eq(&self, other: &GitActivityView) -> bool
fn eq(&self, other: &GitActivityView) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitActivityView
Auto Trait Implementations§
impl Freeze for GitActivityView
impl RefUnwindSafe for GitActivityView
impl Send for GitActivityView
impl Sync for GitActivityView
impl Unpin for GitActivityView
impl UnsafeUnpin for GitActivityView
impl UnwindSafe for GitActivityView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more