pub struct FileHistoryEntry {
pub id: String,
pub committer: User,
pub commit_time: u64,
pub author: User,
pub author_time: u64,
pub co_authors: Vec<User>,
pub change: CommitChange,
pub lines_added: u64,
pub lines_deleted: u64,
}
Expand description
For each file we just keep a simplified history - what the changes were, by whom, and when.
Fields§
§id: String
§committer: User
§commit_time: u64
§change: CommitChange
§lines_added: u64
§lines_deleted: u64
Trait Implementations§
Source§impl Debug for FileHistoryEntry
impl Debug for FileHistoryEntry
Auto Trait Implementations§
impl Freeze for FileHistoryEntry
impl RefUnwindSafe for FileHistoryEntry
impl Send for FileHistoryEntry
impl Sync for FileHistoryEntry
impl Unpin for FileHistoryEntry
impl UnwindSafe for FileHistoryEntry
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