Struct man::Author [−][src]
pub struct Author { /* fields omitted */ }
An author entry.
Methods
impl Author
[src]
impl Author
pub fn new(name: &str) -> Self
[src]
pub fn new(name: &str) -> Self
Create a new instance.
pub fn email(self, email: &str) -> Self
[src]
pub fn email(self, email: &str) -> Self
Set the email field.
Trait Implementations
impl Debug for Author
[src]
impl Debug for Author
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Author
[src]
impl Clone for Author