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]

Returns new instasnce

Trait Implementations

impl Debug for GitInfo
[src]

Formats the value using the given formatter.

impl Clone for GitInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more