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