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: Map<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: Map<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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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) -> Self
fn from(data: AppContext) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AppContext
impl PartialEq for AppContext
Source§impl Serialize for AppContext
impl Serialize for AppContext
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