pub struct Options {
pub all: bool,
pub kernel_name: bool,
pub node_name: bool,
pub kernel_release: bool,
pub kernel_version: bool,
pub machine: bool,
pub processor: bool,
pub hardware_platform: bool,
pub operating_system: bool,
}
Fields§
§all: bool
Print all information.
kernel_name: bool
Print the kernel name.
node_name: bool
Print the network node hostname.
kernel_release: bool
Print the kernel release.
kernel_version: bool
Print the kernel version.
machine: bool
Print the machine hardware name.
processor: bool
Print the processor type (non-portable).
hardware_platform: bool
Print the hardware platform (non-portable).
operating_system: bool
Print the operating system.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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