Struct sentry::protocol::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>,
}

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).

Trait Implementations

impl PartialEq<OsContext> for OsContext
[src]

[src]

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

[src]

This method tests for !=.

impl From<OsContext> for ContextData
[src]

[src]

Performs the conversion.

impl From<OsContext> for Context
[src]

[src]

Performs the conversion.

impl<'de> Deserialize<'de> for OsContext
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for OsContext
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for OsContext
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for OsContext
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for OsContext
[src]

[src]

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

Auto Trait Implementations

impl Send for OsContext

impl Sync for OsContext