Struct oysterpack_app_metadata::metadata::GitVersion [−][src]
pub struct GitVersion(_);
Contains HEAD's tag. The short commit id is used if HEAD is not tagged.
Methods
impl GitVersion
[src]
impl GitVersion
pub fn new(value: &str) -> GitVersion
[src]
pub fn new(value: &str) -> GitVersion
TargetTriple constructor
pub fn get(&self) -> &str
[src]
pub fn get(&self) -> &str
get the underlying value
Trait Implementations
impl Debug for GitVersion
[src]
impl Debug for GitVersion
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GitVersion
[src]
impl Clone for GitVersion
fn clone(&self) -> GitVersion
[src]
fn clone(&self) -> GitVersion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for GitVersion
[src]
impl Eq for GitVersion
impl PartialEq for GitVersion
[src]
impl PartialEq for GitVersion
fn eq(&self, other: &GitVersion) -> bool
[src]
fn eq(&self, other: &GitVersion) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GitVersion) -> bool
[src]
fn ne(&self, other: &GitVersion) -> bool
This method tests for !=
.
impl Hash for GitVersion
[src]
impl Hash for GitVersion
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for GitVersion
[src]
impl Display for GitVersion
Auto Trait Implementations
impl Send for GitVersion
impl Send for GitVersion
impl Sync for GitVersion
impl Sync for GitVersion