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 Identitypub 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 Clone for Identity[src]
impl Clone for Identityfn clone(&self) -> Identity[src]
fn clone(&self) -> IdentityReturns 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 Display for Identity[src]
impl Display for Identityfn 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 Debug for Identity[src]
impl Debug for Identityfn 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 Identityimpl PartialEq<Identity> for Identity[src]
impl PartialEq<Identity> for Identity