pub struct AnalyzedCommit {
pub id: String,
pub diff: AnalyzedDiff,
pub summary: Option<String>,
pub author: Identity,
pub authored_at: DateTime<Utc>,
pub normalized_author: Option<Person>,
pub committer: Identity,
pub committed_at: DateTime<Utc>,
pub normalized_committer: Option<Person>,
pub repo: Option<PartialRepoInfo>,
pub github_url: Option<String>,
}
Fields§
§id: String
§diff: AnalyzedDiff
§summary: Option<String>
§committer: Identity
§committed_at: DateTime<Utc>
§normalized_committer: Option<Person>
§repo: Option<PartialRepoInfo>
§github_url: Option<String>
Implementations§
Source§impl AnalyzedCommit
impl AnalyzedCommit
pub fn new(commit: &Commit<'_>) -> AnalyzedCommit
pub fn merge_diff(&mut self, diff: &AnalyzedDiff)
Trait Implementations§
Source§impl Clone for AnalyzedCommit
impl Clone for AnalyzedCommit
Source§fn clone(&self) -> AnalyzedCommit
fn clone(&self) -> AnalyzedCommit
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AnalyzedCommit
impl Debug for AnalyzedCommit
Source§impl<'de> Deserialize<'de> for AnalyzedCommit
impl<'de> Deserialize<'de> for AnalyzedCommit
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
Source§impl Event for AnalyzedCommit
impl Event for AnalyzedCommit
Source§impl PartialEq for AnalyzedCommit
impl PartialEq for AnalyzedCommit
Source§impl Serialize for AnalyzedCommit
impl Serialize for AnalyzedCommit
impl StructuralPartialEq for AnalyzedCommit
Auto Trait Implementations§
impl Freeze for AnalyzedCommit
impl RefUnwindSafe for AnalyzedCommit
impl Send for AnalyzedCommit
impl Sync for AnalyzedCommit
impl Unpin for AnalyzedCommit
impl UnwindSafe for AnalyzedCommit
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