Struct git_checks::impl_prelude::Identity [] [src]

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

An identity for creating git commits.

Fields

The name.

The email address.

Methods

impl Identity
[src]

[src]

Create a new identity.

Trait Implementations

impl Clone for Identity
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Identity
[src]

impl PartialEq<Identity> for Identity
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Identity
[src]

[src]

Formats the value using the given formatter.

impl Display for Identity
[src]

[src]

Formats the value using the given formatter. Read more