Struct tauri_utils::config::PackageConfig
source · pub struct PackageConfig {
pub product_name: Option<String>,
pub version: Option<String>,
}Expand description
The package configuration.
See more: https://tauri.app/v1/api/config#packageconfig
Fields§
§product_name: Option<String>App name.
version: Option<String>App version. It is a semver version number or a path to a package.json file containing the version field.
Implementations§
source§impl PackageConfig
impl PackageConfig
sourcepub fn binary_name(&self) -> Option<String>
pub fn binary_name(&self) -> Option<String>
The binary name.
Trait Implementations§
source§impl Clone for PackageConfig
impl Clone for PackageConfig
source§fn clone(&self) -> PackageConfig
fn clone(&self) -> PackageConfig
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 PackageConfig
impl Debug for PackageConfig
source§impl Default for PackageConfig
impl Default for PackageConfig
source§fn default() -> PackageConfig
fn default() -> PackageConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PackageConfig
impl<'de> Deserialize<'de> for PackageConfig
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<PackageConfig> for PackageConfig
impl PartialEq<PackageConfig> for PackageConfig
source§fn eq(&self, other: &PackageConfig) -> bool
fn eq(&self, other: &PackageConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.