pub struct AppConfig {
pub identifier: String,
pub name: String,
pub version: String,
pub renderer: RendererConfig,
pub window: WindowConfig,
pub dev: DevConfig,
pub bundle: BundleConfig,
pub commands: HashMap<String, CommandConfig>,
pub hotkeys: Vec<HotkeyConfig>,
pub global_input: GlobalInputConfig,
}Expand description
Configuration for the entire rdesktop application.
Fields§
§identifier: StringApplication identifier (reverse domain notation, e.g. “com.example.myapp”)
name: StringApplication name displayed to users
version: StringApplication version
renderer: RendererConfigRenderer to use (default: WebView)
window: WindowConfigWindow configuration
dev: DevConfigDevelopment server configuration (Agent-first)
bundle: BundleConfigBundle configuration for packaging
commands: HashMap<String, CommandConfig>Custom IPC command handlers
hotkeys: Vec<HotkeyConfig>Global hotkeys registered at the OS level (fire even when the window is
unfocused). Each entry parses its combo via Hotkey::from_str
(e.g. “Ctrl+Shift+K”, “Alt+F4”, “Meta+Space”).
global_input: GlobalInputConfigGlobal input hook configuration (system-wide keyboard/mouse capture). Off by default — enable explicitly to observe raw input events.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppConfig
impl<'de> Deserialize<'de> for AppConfig
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
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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