Struct gitcc_core::CommitHistory
source · pub struct CommitHistory {
pub commits: Vec<Commit>,
pub curr_version: Option<Version>,
pub next_version: Version,
}
Expand description
Commit history
Fields§
§commits: Vec<Commit>
Commits
The list is ordered with the last commit first
curr_version: Option<Version>
Current version
next_version: Version
Next version (unreleased)
Implementations§
source§impl CommitHistory
impl CommitHistory
pub fn next_version_str(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CommitHistory
impl Send for CommitHistory
impl Sync for CommitHistory
impl Unpin for CommitHistory
impl UnwindSafe for CommitHistory
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