Struct rustsec::repository::git::Commit
source · pub struct Commit {
pub commit_id: String,
pub author: String,
pub summary: String,
pub timestamp: SystemTime,
pub signature: Option<Signature>,
/* private fields */
}
Available on crate feature
git
only.Expand description
Information about a commit to the Git repository
Fields§
§commit_id: String
ID (i.e. SHA-1 hash) of the latest commit
Information about the author of a commit
summary: String
Summary message for the commit
timestamp: SystemTime
Commit time in number of seconds since the UNIX epoch
signature: Option<Signature>
Signature on the commit (mandatory for Repository::fetch)