Struct actix_tools::sentry::sentry_client::protocol::AppContext [−]
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 Serialize for AppContext
impl Serialize for AppContextfn 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 Clone for AppContext
impl Clone for AppContextfn clone(&self) -> AppContext
fn clone(&self) -> AppContextReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Default for AppContext
impl Default for AppContextfn default() -> AppContext
fn default() -> AppContextReturns the "default value" for a type. Read more
impl Debug for AppContext
impl Debug for AppContextfn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for AppContext
impl<'de> Deserialize<'de> for AppContextfn 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
impl PartialEq<AppContext> for AppContext
impl PartialEq<AppContext> for AppContextfn eq(&self, other: &AppContext) -> bool
fn eq(&self, other: &AppContext) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AppContext) -> bool
fn ne(&self, other: &AppContext) -> boolThis method tests for !=.
impl From<AppContext> for Context
impl From<AppContext> for Contextfn from(data: AppContext) -> Context
fn from(data: AppContext) -> ContextPerforms the conversion.
impl From<AppContext> for ContextData
impl From<AppContext> for ContextDatafn from(data: AppContext) -> ContextData
fn from(data: AppContext) -> ContextDataPerforms the conversion.
Auto Trait Implementations
impl Send for AppContext
impl Send for AppContextimpl Sync for AppContext
impl Sync for AppContext