Struct shell_rs::uname::Options[][src]

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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.