[−][src]Trait last_git_commit::Author
Required methods
Loading content...Implementors
impl Author for LGCAuthor
[src]
fn name(&self) -> String
[src]
Get the name of the commit author.
Examples
extern crate last_git_commit; use last_git_commit::{LastGitCommit, Author}; let name = LastGitCommit::new(None, None).unwrap().author.name(); println!("Name: {}", name);
fn email(&self) -> String
[src]
Get the email of the commit author.
Examples
extern crate last_git_commit; use last_git_commit::{LastGitCommit, Author}; let email = LastGitCommit::new(None, None).unwrap().author.email(); println!("Email: {}", email);