pub struct TauriConfig {
pub window: WindowConfig,
pub embedded_server: EmbeddedServerConfig,
pub cli: Option<CliConfig>,
pub bundle: BundleConfig,
}
Expand description
The Tauri configuration object.
Fields§
§window: WindowConfig
The window configuration.
embedded_server: EmbeddedServerConfig
The embeddedServer configuration.
cli: Option<CliConfig>
The CLI configuration.
bundle: BundleConfig
The bundler configuration.
Trait Implementations§
Source§impl Debug for TauriConfig
impl Debug for TauriConfig
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 for TauriConfig
impl PartialEq for TauriConfig
impl StructuralPartialEq for TauriConfig
Auto Trait Implementations§
impl Freeze for TauriConfig
impl RefUnwindSafe for TauriConfig
impl Send for TauriConfig
impl Sync for TauriConfig
impl Unpin for TauriConfig
impl UnwindSafe for TauriConfig
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more