pub struct CachedCommit {
pub sha: String,
pub ts: i64,
pub name: String,
pub email: String,
pub coauthors: Vec<(String, String)>,
}Expand description
A commit as stored in the git-history cache (no source index; that is re-assigned per run when the pool is rebuilt).
Fields§
§sha: String§ts: i64§name: String§email: StringTrait Implementations§
Source§impl Clone for CachedCommit
impl Clone for CachedCommit
Source§fn clone(&self) -> CachedCommit
fn clone(&self) -> CachedCommit
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<'de> Deserialize<'de> for CachedCommit
impl<'de> Deserialize<'de> for CachedCommit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CachedCommit
impl RefUnwindSafe for CachedCommit
impl Send for CachedCommit
impl Sync for CachedCommit
impl Unpin for CachedCommit
impl UnsafeUnpin for CachedCommit
impl UnwindSafe for CachedCommit
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