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: StringVersion of the GUI process writing the report.
build_profile: String"debug" or "release".
agent_version: Option<String>None when the agent is unreachable (not yet connected / restarting).
protocol_gui: u32IPC protocol version compiled into the GUI.
protocol_agent: Option<u32>IPC protocol version the agent reported, None when unreachable.
A mismatch with Self::protocol_gui is flagged in the rendered
report.
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>OS version string, when the platform exposes one.
arch: StringHost CPU architecture (e.g. "arm64").
system_locale: Option<String>OS-reported locale, None when detection failed.
ui_language: Option<String>Explicit UI-language override, or None for “follow system”.
accessibility_granted: boolInput-monitoring/Accessibility permission state — macOS gates the input hook on it.
hook_installed: Option<bool>None when the agent status is unavailable.
launch_at_login: Option<bool>Launch-at-login setting, None when unknown.
Menu-bar/tray icon setting, None when unknown.
check_for_updates: Option<bool>Automatic update-check setting, None when unknown.
thumbwheel_sensitivity: Option<i32>Thumbwheel sensitivity setting, None when unknown.
config_schema_version: Option<u32>schema_version of the loaded config.toml, when one loaded.
configured_device_count: Option<usize>Number of device entries in the config, when known.
running_from_bundle: booltrue for an installed app bundle, false for a source/dev build.
Trait 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>,
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
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
key and return true if they are equal.