pub enum ShaKind {
Normal,
Short,
Both,
}
Expand description
The SHA kind to output
Variants
Normal
Output the normal 40 digit SHA: VERGEN_GIT_SHA
Short
Output the short 7 digit SHA: VERGEN_GIT_SHA_SHORT
Both
Output both SHA variants: VERGEN_GIT_SHA
and VERGEN_GIT_SHA_SHORT
Trait Implementations
impl Copy for ShaKind
impl Eq for ShaKind
impl StructuralEq for ShaKind
impl StructuralPartialEq for ShaKind
Auto Trait Implementations
impl RefUnwindSafe for ShaKind
impl Send for ShaKind
impl Sync for ShaKind
impl Unpin for ShaKind
impl UnwindSafe for ShaKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more