pub struct AppInfo {Show 20 fields
pub gui_version: String,
pub build_profile: String,
pub agent_version: Option<String>,
pub protocol_gui: u32,
pub protocol_agent: Option<u32>,
pub inventory: Option<InventoryState>,
pub os: String,
pub os_version: Option<String>,
pub arch: String,
pub system_locale: Option<String>,
pub ui_language: Option<String>,
pub accessibility_granted: bool,
pub hook_installed: Option<bool>,
pub launch_at_login: Option<bool>,
pub show_in_menu_bar: Option<bool>,
pub check_for_updates: Option<bool>,
pub thumbwheel_sensitivity: Option<i32>,
pub config_schema_version: Option<u32>,
pub configured_device_count: Option<usize>,
pub running_from_bundle: bool,
}Expand description
App, agent, and host environment.
Fields§
§gui_version: String§build_profile: String"debug" or "release".
agent_version: Option<String>None when the agent is unreachable (not yet connected / restarting).
protocol_gui: u32§protocol_agent: Option<u32>§inventory: Option<InventoryState>Enumeration health behind the device section, None when the agent
status is unavailable.
os: StringRaw std::env::consts::OS ("macos" / "linux" / "windows").
os_version: Option<String>§arch: String§system_locale: Option<String>§ui_language: Option<String>Explicit UI-language override, or None for “follow system”.
accessibility_granted: bool§hook_installed: Option<bool>None when the agent status is unavailable.
launch_at_login: Option<bool>§check_for_updates: Option<bool>§thumbwheel_sensitivity: Option<i32>§config_schema_version: Option<u32>§configured_device_count: Option<usize>§running_from_bundle: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for AppInfo
impl<'de> Deserialize<'de> for AppInfo
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
impl Eq for AppInfo
impl StructuralPartialEq for AppInfo
Auto Trait Implementations§
impl Freeze for AppInfo
impl RefUnwindSafe for AppInfo
impl Send for AppInfo
impl Sync for AppInfo
impl Unpin for AppInfo
impl UnsafeUnpin for AppInfo
impl UnwindSafe for AppInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.