pub struct Commit {
pub commit_date: Option<DateTime<Utc>>,
pub commit_message: Option<String>,
pub author_name: Option<String>,
pub author_email: Option<String>,
pub committer_name: Option<String>,
pub committer_email: Option<String>,
pub tree_hash: Option<String>,
}Expand description
Struct holding info of each commit
Fields§
§commit_date: Option<DateTime<Utc>>The repo commit date
commit_message: Option<String>The repo commit message
The repo author name
The repo author email
committer_name: Option<String>The repo committer name (sometimes the author is not always the committer)
committer_email: Option<String>The repo committer email
tree_hash: Option<String>tree hash
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Commit
impl<'de> Deserialize<'de> for Commit
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
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl Freeze for Commit
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnwindSafe for Commit
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