Struct tauri_utils::config::PackageConfig
source · [−]Expand description
The package configuration.
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
sourceimpl PackageConfig
impl PackageConfig
sourcepub fn binary_name(&self) -> Option<String>
pub fn binary_name(&self) -> Option<String>
The binary name.
Trait Implementations
sourceimpl Clone for PackageConfig
impl Clone for PackageConfig
sourcefn clone(&self) -> PackageConfig
fn clone(&self) -> PackageConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PackageConfig
impl Debug for PackageConfig
sourceimpl Default for PackageConfig
impl Default for PackageConfig
sourcefn default() -> PackageConfig
fn default() -> PackageConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PackageConfig
impl<'de> Deserialize<'de> for PackageConfig
sourcefn 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
sourceimpl PartialEq<PackageConfig> for PackageConfig
impl PartialEq<PackageConfig> for PackageConfig
sourcefn eq(&self, other: &PackageConfig) -> bool
fn eq(&self, other: &PackageConfig) -> bool
sourceimpl Serialize for PackageConfig
impl Serialize for PackageConfig
impl Eq for PackageConfig
impl StructuralEq for PackageConfig
impl StructuralPartialEq for PackageConfig
Auto Trait Implementations
impl RefUnwindSafe for PackageConfig
impl Send for PackageConfig
impl Sync for PackageConfig
impl Unpin for PackageConfig
impl UnwindSafe for PackageConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more