Struct git_checks::impl_prelude::Identity []

pub struct Identity {
    pub name: String,
    pub email: String,
}

An identity for creating git commits.

Fields

The name.

The email address.

Methods

impl Identity

Create a new identity.

Trait Implementations

impl Debug for Identity

Formats the value using the given formatter.

impl Display for Identity

Formats the value using the given formatter. Read more

impl Eq for Identity

impl PartialEq<Identity> for Identity

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Identity

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more