Struct tauri::Config
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
.
#
Fieldspackage: PackageConfig
Package settings.
tauri: TauriConfig
The Tauri configuration.
build: BuildConfig
The build configuration.
plugins: PluginConfig
The plugins config.
#
Trait ImplementationsDebug for Config#
implfmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>#
pub fnFormats the value using the given formatter. Read more
Default for Config#
impldefault() -> Config#
pub fnReturns the “default value” for a type. Read more
Deserialize<'de> for Config#
impl<'de>deserialize<__D>( __deserializer: __D ) -> Result<Config, <__D as Deserializer<'de>>::Error> where __D: Deserializer<'de>,#
pub fnDeserialize this value from the given Serde deserializer. Read more
PartialEq<Config> for Config#
impleq(&self, other: &Config) -> bool#
pub fnThis method tests for self
and other
values to be equal, and is used by ==
. Read more
ne(&self, other: &Config) -> bool#
pub fnThis method tests for !=
.
ToTokens for Config#
implto_tokens(&self, tokens: &mut TokenStream)#
pub fnWrite self
to the given TokenStream
. Read more
to_token_stream(&self) -> TokenStream[src]#
fnConvert self
directly into a TokenStream
object. Read more
into_token_stream(self) -> TokenStream[src]#
fnConvert self
directly into a TokenStream
object. Read more
StructuralPartialEq for Config#
impl#
Auto Trait ImplementationsRefUnwindSafe for Config#
implSend for Config#
implSync for Config#
implUnpin for Config#
implUnwindSafe for Config#
impl#
Blanket ImplementationsAny for T where T: 'static + ?Sized,[src]#
impl<T>type_id(&self) -> TypeId[src]#
pub fnGets the TypeId
of self
. Read more
Borrow<T> for T where T: ?Sized,[src]#
impl<T>borrow(&self) -> &T[src]#
pub fnImmutably borrows from an owned value. Read more
BorrowMut<T> for T where T: ?Sized,[src]#
impl<T>borrow_mut(&mut self) -> &mutT[src]#
pub fnMutably borrows from an owned value. Read more
CommandArg<'de, R> for D where R: Runtime, D: Deserialize<'de>,[src]#
impl<'de, D, R>from_command(CommandItem<'de, R>) -> Result<D, InvokeError>[src]#
pub fnDerives an instance of Self
from the CommandItem
. Read more
From<T> for T[src]#
impl<T>from(t: T) -> T[src]#
pub fnPerforms the conversion.
Into<U> for T where U: From<T>,[src]#
impl<T, U>into(self) -> U[src]#
pub fnPerforms the conversion.
TryFrom<U> for T where U: Into<T>,[src]#
impl<T, U>Error = Infallible#
typeThe type returned in the event of a conversion error.
try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]#
pub fnPerforms the conversion.
TryInto<U> for T where U: TryFrom<T>,[src]#
impl<T, U>Error = <U as TryFrom<T>>::Error#
typeThe type returned in the event of a conversion error.
try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]#
pub fnPerforms the conversion.