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>, }
Holds operating system information.
Fields
name: Option<String>
The name of the operating system.
version: Option<String>
The version of the operating system.
build: Option<String>
The internal build number of the operating system.
kernel_version: Option<String>
The current kernel version.
rooted: Option<bool>
An indicator if the os is rooted (mobile mostly).
Trait Implementations
impl Debug for OsContext
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for OsContext
[src]
fn clone(&self) -> OsContext
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for OsContext
[src]
impl PartialEq for OsContext
[src]
fn eq(&self, __arg_0: &OsContext) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OsContext) -> bool
[src]
This method tests for !=
.
impl From<OsContext> for ContextData
[src]
fn from(data: OsContext) -> ContextData
[src]
Performs the conversion.