Struct sentry_types::protocol::v7::OsContext[][src]

pub struct OsContext {
    pub name: Option<String>,
    pub version: Option<String>,
    pub build: Option<String>,
    pub kernel_version: Option<String>,
    pub rooted: Option<bool>,
    pub other: Map<String, Value>,
}

Holds operating system information.

Fields

The name of the operating system.

The version of the operating system.

The internal build number of the operating system.

The current kernel version.

An indicator if the os is rooted (mobile mostly).

Additional arbitrary fields for forwards compatibility.

Trait Implementations

impl Debug for OsContext
[src]

Formats the value using the given formatter. Read more

impl Clone for OsContext
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for OsContext
[src]

Returns the "default value" for a type. Read more

impl PartialEq for OsContext
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<OsContext> for Context
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for OsContext

impl Sync for OsContext