pub struct WildVersionInfo {
pub name: &'static str,
pub commit_hash: Option<&'static str>,
pub commit_date: Option<&'static str>,
pub has_tag: bool,
pub modified: bool,
}Fields§
§name: &'static strWhat this linker is called. Generally “wild”, but could be different when embedding libwild.
commit_hash: Option<&'static str>The release commit for clean tagged builds, otherwise the merge base with origin/main.
commit_date: Option<&'static str>The date of commit_hash in YYYY-MM-DD format.
has_tag: boolWhether this is a clean build of a tag matching the package version.
modified: boolWhether the working tree differs from the commit identified by commit_hash.
Trait Implementations§
Source§impl Clone for WildVersionInfo
impl Clone for WildVersionInfo
impl Copy for WildVersionInfo
Source§impl Debug for WildVersionInfo
impl Debug for WildVersionInfo
Auto Trait Implementations§
impl Freeze for WildVersionInfo
impl RefUnwindSafe for WildVersionInfo
impl Send for WildVersionInfo
impl Sync for WildVersionInfo
impl Unpin for WildVersionInfo
impl UnsafeUnpin for WildVersionInfo
impl UnwindSafe for WildVersionInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more