Struct tauri_utils::PackageInfo
source · pub struct PackageInfo {
pub name: String,
pub version: Version,
pub authors: &'static str,
pub description: &'static str,
}Expand description
tauri::App package information.
Fields
name: StringApp name
version: VersionApp version
The crate authors.
description: &'static strThe crate description.
Implementations
sourceimpl PackageInfo
impl PackageInfo
sourcepub fn package_name(&self) -> String
pub fn package_name(&self) -> String
Returns the application package name.
On macOS and Windows it’s the name field, and on Linux it’s the name in kebab-case.
Trait Implementations
sourceimpl Clone for PackageInfo
impl Clone for PackageInfo
sourcefn clone(&self) -> PackageInfo
fn clone(&self) -> PackageInfo
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 moreAuto Trait Implementations
impl RefUnwindSafe for PackageInfo
impl Send for PackageInfo
impl Sync for PackageInfo
impl Unpin for PackageInfo
impl UnwindSafe for PackageInfo
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