Struct git_workarea::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) -> Self where
N: ToString,
E: ToString,
[src]
N: ToString,
E: ToString,
Create a new identity.
Trait Implementations
impl Debug for Identity
[src]
impl PartialEq for Identity
[src]
fn eq(&self, __arg_0: &Identity) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Identity) -> bool
[src]
This method tests for !=
.
impl Eq for Identity
[src]
impl Clone for Identity
[src]
fn clone(&self) -> Self
[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