pub struct DiagnoseArgs {
pub json: bool,
}Expand description
System and GPU diagnostics.
Fields§
§json: boolEmit machine-readable JSON.
Trait Implementations§
Source§impl Debug for DiagnoseArgs
impl Debug for DiagnoseArgs
Source§impl FdlArgsTrait for DiagnoseArgs
impl FdlArgsTrait for DiagnoseArgs
Source§fn try_parse_from(args: &[String]) -> Result<Self, String>
fn try_parse_from(args: &[String]) -> Result<Self, String>
Parse from an explicit argv slice. First element is the program
name (ignored), following elements are flags/values/positionals.
Source§fn render_help() -> String
fn render_help() -> String
Render
--help to a string.Auto Trait Implementations§
impl Freeze for DiagnoseArgs
impl RefUnwindSafe for DiagnoseArgs
impl Send for DiagnoseArgs
impl Sync for DiagnoseArgs
impl Unpin for DiagnoseArgs
impl UnsafeUnpin for DiagnoseArgs
impl UnwindSafe for DiagnoseArgs
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