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, Global>,
}
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, Global>
Additional arbitrary fields for forwards compatibility.
Trait Implementations
sourceimpl Clone for AppContext
impl Clone for AppContext
sourcefn clone(&self) -> AppContext
fn clone(&self) -> AppContext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AppContext
impl Debug for AppContext
sourceimpl Default for AppContext
impl Default for AppContext
sourcefn default() -> AppContext
fn default() -> AppContext
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AppContext
impl<'de> Deserialize<'de> for AppContext
sourcefn 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
sourceimpl From<AppContext> for Context
impl From<AppContext> for Context
sourcefn from(data: AppContext) -> Context
fn from(data: AppContext) -> Context
Converts to this type from the input type.
sourceimpl PartialEq<AppContext> for AppContext
impl PartialEq<AppContext> for AppContext
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &AppContext) -> bool
fn ne(&self, other: &AppContext) -> bool
This method tests for !=
.
sourceimpl Serialize for AppContext
impl Serialize for AppContext
sourcefn 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 RefUnwindSafe for AppContext
impl Send for AppContext
impl Sync for AppContext
impl Unpin for AppContext
impl UnwindSafe for AppContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more