Struct git_checks::impl_prelude::Identity  
                   
                       [−]
                   
               [src]
pub struct Identity {
    pub name: String,
    pub email: String,
}An identity for creating git commits.
Fields
name: String
                           The name.
email: String
                           The email address.
Methods
impl Identity[src]
fn new<N, E>(name: N, email: E) -> Identity where
    E: ToString,
    N: ToString, [src]
E: ToString,
N: ToString,
Create a new identity.
Trait Implementations
impl Clone for Identity[src]
fn clone(&self) -> Identity[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Identity[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.
impl Display for Identity[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more