Struct git_checks::Identity
[−]
pub struct Identity {
pub name: String,
pub email: String,
}An identity for creating git commits.
Fields
name: String
The name of the user.
email: String
The email address of the user.
Methods
impl Identity
Trait Implementations
impl Debug for Identity
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl PartialEq<Identity> for Identity
fn eq(&self, __arg_0: &Identity) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Identity) -> bool
This method tests for !=.
impl Eq for Identity
impl Clone for Identity
fn clone(&self) -> Identity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more