Struct sentry::protocol::AppContext
source · 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>,
pub other: BTreeMap<String, Value, Global>,
}
Expand description
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.
other: BTreeMap<String, Value, Global>
Additional arbitrary fields for forwards compatibility.
Trait Implementations§
source§impl Clone for AppContext
impl Clone for AppContext
source§fn clone(&self) -> AppContext
fn clone(&self) -> AppContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AppContext
impl Debug for AppContext
source§impl Default for AppContext
impl Default for AppContext
source§fn default() -> AppContext
fn default() -> AppContext
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AppContext
impl<'de> Deserialize<'de> for AppContext
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AppContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AppContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AppContext> for Context
impl From<AppContext> for Context
source§fn from(data: AppContext) -> Context
fn from(data: AppContext) -> Context
Converts to this type from the input type.
source§impl PartialEq<AppContext> for AppContext
impl PartialEq<AppContext> for AppContext
source§fn eq(&self, other: &AppContext) -> bool
fn eq(&self, other: &AppContext) -> bool
source§impl Serialize for AppContext
impl Serialize for AppContext
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&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