pub struct ProjectSummary {
pub root: String,
pub command_count: i64,
pub session_count: i64,
pub first_activity: String,
pub last_activity: String,
pub branches: Vec<String>,
pub remote: Option<String>,
}Expand description
Résumé agrégé de l’activité d’un projet (regroupement par git_root).
Fields§
§root: StringRacine Git du projet.
command_count: i64Nombre total de commandes enregistrées.
session_count: i64Nombre de sessions distinctes (commandes portant un session_id).
first_activity: StringHorodatage de la première commande connue.
last_activity: StringHorodatage de la dernière commande connue.
branches: Vec<String>Branches Git rencontrées, triées et dédupliquées.
remote: Option<String>Un remote Git connu du projet, si disponible.
Trait Implementations§
Source§impl Clone for ProjectSummary
impl Clone for ProjectSummary
Source§fn clone(&self) -> ProjectSummary
fn clone(&self) -> ProjectSummary
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 moreAuto Trait Implementations§
impl Freeze for ProjectSummary
impl RefUnwindSafe for ProjectSummary
impl Send for ProjectSummary
impl Sync for ProjectSummary
impl Unpin for ProjectSummary
impl UnsafeUnpin for ProjectSummary
impl UnwindSafe for ProjectSummary
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,
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