Struct github_webhook::payload_types::Commit
source · pub struct Commit<'a> {
pub id: &'a str,
pub tree_id: &'a str,
pub distinct: bool,
pub message: &'a str,
pub timestamp: &'a str,
pub url: &'a str,
pub author: Committer<'a>,
pub committer: Committer<'a>,
pub added: Vec<&'a str>,
pub modified: Vec<&'a str>,
pub removed: Vec<&'a str>,
}
Fields§
§id: &'a str
§tree_id: &'a str
§distinct: bool
Whether this commit is distinct from any that have been pushed before.
message: &'a str
The commit message.
timestamp: &'a str
The ISO 8601 timestamp of the commit.
url: &'a str
URL that points to the commit API resource.
committer: Committer<'a>
§added: Vec<&'a str>
An array of files added in the commit. For extremely large commits where GitHub is unable to calculate this list in a timely manner, this may be empty even if files were added.
modified: Vec<&'a str>
An array of files modified by the commit. For extremely large commits where GitHub is unable to calculate this list in a timely manner, this may be empty even if files were modified.
removed: Vec<&'a str>
An array of files removed in the commit. For extremely large commits where GitHub is unable to calculate this list in a timely manner, this may be empty even if files were removed.