pub struct ProjectLog {
pub project: String,
pub path: String,
pub origin: Option<RepoOrigin>,
pub remote_url: Option<String>,
pub branches: Vec<BranchLog>,
pub diff_stat: Option<DiffStat>,
}Fields§
§project: String§path: String§origin: Option<RepoOrigin>§remote_url: Option<String>§branches: Vec<BranchLog>§diff_stat: Option<DiffStat>Implementations§
Source§impl ProjectLog
impl ProjectLog
pub fn total_commits(&self) -> usize
pub fn latest_activity(&self) -> Option<&str>
Trait Implementations§
Source§impl Debug for ProjectLog
impl Debug for ProjectLog
Auto Trait Implementations§
impl Freeze for ProjectLog
impl RefUnwindSafe for ProjectLog
impl Send for ProjectLog
impl Sync for ProjectLog
impl Unpin for ProjectLog
impl UnsafeUnpin for ProjectLog
impl UnwindSafe for ProjectLog
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