Struct tauri_utils::config::TauriConfig
source · pub struct TauriConfig {
pub pattern: PatternKind,
pub windows: Vec<WindowConfig>,
pub cli: Option<CliConfig>,
pub bundle: BundleConfig,
pub allowlist: AllowlistConfig,
pub security: SecurityConfig,
pub updater: UpdaterConfig,
pub system_tray: Option<SystemTrayConfig>,
pub macos_private_api: bool,
}Expand description
The Tauri configuration object.
Fields§
§pattern: PatternKindThe pattern to use.
windows: Vec<WindowConfig>The windows configuration.
cli: Option<CliConfig>The CLI configuration.
bundle: BundleConfigThe bundler configuration.
allowlist: AllowlistConfigThe allowlist configuration.
security: SecurityConfigSecurity configuration.
updater: UpdaterConfigThe updater configuration.
system_tray: Option<SystemTrayConfig>Configuration for app system tray.
macos_private_api: boolMacOS private API configuration. Enables the transparent background API and sets the fullScreenEnabled preference to true.
Implementations§
Trait Implementations§
source§impl Clone for TauriConfig
impl Clone for TauriConfig
source§fn clone(&self) -> TauriConfig
fn clone(&self) -> TauriConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TauriConfig
impl Debug for TauriConfig
source§impl Default for TauriConfig
impl Default for TauriConfig
source§fn default() -> TauriConfig
fn default() -> TauriConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TauriConfig
impl<'de> Deserialize<'de> for TauriConfig
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<TauriConfig> for TauriConfig
impl PartialEq<TauriConfig> for TauriConfig
source§fn eq(&self, other: &TauriConfig) -> bool
fn eq(&self, other: &TauriConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.