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: boolPrint all information.
kernel_name: boolPrint the kernel name.
node_name: boolPrint the network node hostname.
kernel_release: boolPrint the kernel release.
kernel_version: boolPrint the kernel version.
machine: boolPrint the machine hardware name.
processor: boolPrint the processor type (non-portable).
hardware_platform: boolPrint the hardware platform (non-portable).
operating_system: boolPrint 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