Struct cargo_make::types::GitInfo [] [src]

pub struct GitInfo {
    pub branch: Option<String>,
    pub user_name: Option<String>,
    pub user_email: Option<String>,
}

Holds git info for the given repo directory

Fields

branch name

user.name

user.email

Methods

impl GitInfo
[src]

[src]

Returns new instance

Trait Implementations

impl Debug for GitInfo
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for GitInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more