Skip to main content

VcsSource

Trait VcsSource 

Source
pub trait VcsSource {
    // Required methods
    fn vcs_git(&self) -> Option<String>;
    fn vcs_svn(&self) -> Option<String>;
    fn vcs_bzr(&self) -> Option<String>;
    fn vcs_hg(&self) -> Option<String>;
    fn vcs_mtn(&self) -> Option<String>;
    fn vcs_cvs(&self) -> Option<String>;
    fn vcs_darcs(&self) -> Option<String>;
    fn vcs_arch(&self) -> Option<String>;
    fn vcs_svk(&self) -> Option<String>;
}
Expand description

Trait for types that can provide VCS information.

Required Methods§

Source

fn vcs_git(&self) -> Option<String>

Get the Vcs-Git field.

Source

fn vcs_svn(&self) -> Option<String>

Get the Vcs-Svn field.

Source

fn vcs_bzr(&self) -> Option<String>

Get the Vcs-Bzr field.

Source

fn vcs_hg(&self) -> Option<String>

Get the Vcs-Hg field.

Source

fn vcs_mtn(&self) -> Option<String>

Get the Vcs-Mtn field.

Source

fn vcs_cvs(&self) -> Option<String>

Get the Vcs-Cvs field.

Source

fn vcs_darcs(&self) -> Option<String>

Get the Vcs-Darcs field.

Source

fn vcs_arch(&self) -> Option<String>

Get the Vcs-Arch field.

Source

fn vcs_svk(&self) -> Option<String>

Get the Vcs-Svk field.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl VcsSource for Source

Source§

impl VcsSource for Source

Implementors§