Struct sys_info::LinuxOSReleaseInfo[][src]

pub struct LinuxOSReleaseInfo {
    pub id: Option<String>,
    pub id_like: Option<String>,
    pub name: Option<String>,
    pub pretty_name: Option<String>,
    pub version: Option<String>,
    pub version_id: Option<String>,
    pub version_codename: Option<String>,
    pub ansi_color: Option<String>,
    pub cpe_name: Option<String>,
    pub build_id: Option<String>,
    pub variant: Option<String>,
    pub variant_id: Option<String>,
    pub home_url: Option<String>,
    pub bug_report_url: Option<String>,
    pub support_url: Option<String>,
    pub documentation_url: Option<String>,
    pub logo: Option<String>,
}

The os release info of Linux

Fields

id: Option<String>id_like: Option<String>name: Option<String>pretty_name: Option<String>version: Option<String>version_id: Option<String>version_codename: Option<String>ansi_color: Option<String>cpe_name: Option<String>build_id: Option<String>variant: Option<String>variant_id: Option<String>home_url: Option<String>bug_report_url: Option<String>support_url: Option<String>documentation_url: Option<String>

Trait Implementations

impl Debug for LinuxOSReleaseInfo[src]

impl Default for LinuxOSReleaseInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for LinuxOSReleaseInfo

impl Send for LinuxOSReleaseInfo

impl Sync for LinuxOSReleaseInfo

impl Unpin for LinuxOSReleaseInfo

impl UnwindSafe for LinuxOSReleaseInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.