Struct sentry::protocol::AppContext
[−]
[src]
pub struct AppContext { pub app_start_time: Option<DateTime<Utc>>, pub device_app_hash: Option<String>, pub build_type: Option<String>, pub app_identifier: Option<String>, pub app_name: Option<String>, pub app_version: Option<String>, pub app_build: Option<String>, }
Holds app information.
Fields
app_start_time: Option<DateTime<Utc>>
Optional start time of the app.
device_app_hash: Option<String>
Optional device app hash (app specific device ID)
build_type: Option<String>
Optional build identicator.
app_identifier: Option<String>
Optional app identifier (dotted bundle id).
app_name: Option<String>
Application name as it appears on the platform.
app_version: Option<String>
Application version as it appears on the platform.
app_build: Option<String>
Internal build ID as it appears on the platform.
Trait Implementations
impl PartialEq<AppContext> for AppContext
[src]
fn eq(&self, __arg_0: &AppContext) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AppContext) -> bool
[src]
This method tests for !=
.
impl From<AppContext> for ContextData
[src]
fn from(data: AppContext) -> ContextData
[src]
Performs the conversion.
impl From<AppContext> for Context
[src]
fn from(data: AppContext) -> Context
[src]
Performs the conversion.
impl<'de> Deserialize<'de> for AppContext
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<AppContext, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<AppContext, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for AppContext
[src]
fn clone(&self) -> AppContext
[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 Serialize for AppContext
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Debug for AppContext
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Default for AppContext
[src]
fn default() -> AppContext
[src]
Returns the "default value" for a type. Read more