pub struct KeyedAppState {
pub create_time: Option<DateTime<Utc>>,
pub data: Option<String>,
pub key: Option<String>,
pub last_update_time: Option<DateTime<Utc>>,
pub message: Option<String>,
pub severity: Option<String>,
}
Expand description
Keyed app state reported by the app.
This type is not used in any activity, and only used as part of another schema.
Fields§
§create_time: Option<DateTime<Utc>>
The creation time of the app state on the device.
data: Option<String>
Optionally, a machine-readable value to be read by the EMM. For example, setting values that the admin can choose to query against in the EMM console (e.g. “notify me if the battery_warning data < 10”).
key: Option<String>
The key for the app state. Acts as a point of reference for what the app is providing state for. For example, when providing managed configuration feedback, this key could be the managed configuration key.
last_update_time: Option<DateTime<Utc>>
The time the app state was most recently updated.
message: Option<String>
Optionally, a free-form message string to explain the app state. If the state was triggered by a particular value (e.g. a managed configuration value), it should be included in the message.
severity: Option<String>
The severity of the app state.
Trait Implementations§
Source§impl Clone for KeyedAppState
impl Clone for KeyedAppState
Source§fn clone(&self) -> KeyedAppState
fn clone(&self) -> KeyedAppState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for KeyedAppState
impl Debug for KeyedAppState
Source§impl Default for KeyedAppState
impl Default for KeyedAppState
Source§fn default() -> KeyedAppState
fn default() -> KeyedAppState
Source§impl<'de> Deserialize<'de> for KeyedAppState
impl<'de> Deserialize<'de> for KeyedAppState
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>,
Source§impl Serialize for KeyedAppState
impl Serialize for KeyedAppState
impl Part for KeyedAppState
Auto Trait Implementations§
impl Freeze for KeyedAppState
impl RefUnwindSafe for KeyedAppState
impl Send for KeyedAppState
impl Sync for KeyedAppState
impl Unpin for KeyedAppState
impl UnwindSafe for KeyedAppState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more