Struct tauri_utils::config::AppConfig
source · pub struct AppConfig {
pub windows: Vec<WindowConfig>,
pub security: SecurityConfig,
pub tray_icon: Option<TrayIconConfig>,
pub macos_private_api: bool,
pub with_global_tauri: bool,
}
Expand description
The App configuration object.
Fields§
§windows: Vec<WindowConfig>
The windows configuration.
security: SecurityConfig
Security configuration.
tray_icon: Option<TrayIconConfig>
Configuration for app tray icon.
macos_private_api: bool
MacOS private API configuration. Enables the transparent background API and sets the fullScreenEnabled
preference to true
.
with_global_tauri: bool
Whether we should inject the Tauri API on window.__TAURI__
or not.
Implementations§
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
source§impl PartialEq for AppConfig
impl PartialEq for AppConfig
impl StructuralPartialEq for AppConfig
Auto Trait Implementations§
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin 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