Struct tauri::Config [−][src]
pub struct Config { pub package: PackageConfig, pub tauri: TauriConfig, pub build: BuildConfig, pub plugins: PluginConfig, }
Expand description
The config type mapped to tauri.conf.json
.
Fields
package: PackageConfig
Package settings.
tauri: TauriConfig
The Tauri configuration.
build: BuildConfig
The build configuration.
plugins: PluginConfig
The plugins config.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Config, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Config, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more
Derives an instance of Self
from the CommandItem
. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> NoneValue for T where
T: Default,
impl<T> NoneValue for T where
T: Default,
type NoneType = T
pub fn null_value() -> T
pub fn null_value() -> T
The none-equivalent value.