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


branch name


impl GitInfo

Returns new instance

Trait Implementations

impl Debug for GitInfo

Formats the value using the given formatter. Read more

impl Clone for GitInfo

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for GitInfo

impl Sync for GitInfo