pub enum VersionFormat {
None,
Short,
Features,
Full,
Json,
JsonPlain,
}Expand description
Available version formats for $program -VV
Variants§
None
Don’t show version information
Short
Shows short version information
Features
Shows only features information
Full
Shows full version information
Json
Shows version information in JSON format
JsonPlain
Shows version information in plain JSON format
Trait Implementations§
Source§impl Clone for VersionFormat
impl Clone for VersionFormat
Source§fn clone(&self) -> VersionFormat
fn clone(&self) -> VersionFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VersionFormat
impl Debug for VersionFormat
Source§impl Display for VersionFormat
impl Display for VersionFormat
Source§impl ValueEnum for VersionFormat
impl ValueEnum for VersionFormat
Auto Trait Implementations§
impl Freeze for VersionFormat
impl RefUnwindSafe for VersionFormat
impl Send for VersionFormat
impl Sync for VersionFormat
impl Unpin for VersionFormat
impl UnwindSafe for VersionFormat
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