Struct sentry_core::protocol::AppContext
source · pub struct AppContext {
pub app_start_time: Option<SystemTime>,
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>,
}
Expand description
Holds app information.
Fields§
§app_start_time: Option<SystemTime>
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>
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 for AppContext
impl PartialEq for AppContext
source§fn eq(&self, other: &AppContext) -> bool
fn eq(&self, other: &AppContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
impl StructuralPartialEq for AppContext
Auto Trait Implementations§
impl Freeze for AppContext
impl RefUnwindSafe for AppContext
impl Send for AppContext
impl Sync for AppContext
impl Unpin for AppContext
impl UnwindSafe for AppContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more