pub enum FormatArg {
Terminal,
Json,
Github,
Csv,
Table,
}Expand description
The –format flag value.
Variants§
Terminal
Human-readable terminal output with color
Json
Machine-readable JSON
Github
GitHub Actions annotation format
Csv
Comma-separated values
Table
Fixed-width aligned table (manifest only)
Implementations§
Source§impl FormatArg
impl FormatArg
Sourcepub fn to_output_format(&self) -> OutputFormat
pub fn to_output_format(&self) -> OutputFormat
Convert to the output::OutputFormat type.
Trait Implementations§
impl Eq for FormatArg
impl StructuralPartialEq for FormatArg
Auto Trait Implementations§
impl Freeze for FormatArg
impl RefUnwindSafe for FormatArg
impl Send for FormatArg
impl Sync for FormatArg
impl Unpin for FormatArg
impl UnsafeUnpin for FormatArg
impl UnwindSafe for FormatArg
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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