Struct tauri_utils::PackageInfo
source · pub struct PackageInfo {
pub name: String,
pub version: Version,
pub authors: &'static str,
pub description: &'static str,
pub crate_name: &'static str,
}
Expand description
tauri::App
package information.
Fields§
§name: String
App name
version: Version
App version
The crate authors.
description: &'static str
The crate description.
crate_name: &'static str
The crate name.
Implementations§
source§impl 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§
source§impl Clone for PackageInfo
impl Clone for PackageInfo
source§fn clone(&self) -> PackageInfo
fn clone(&self) -> PackageInfo
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 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§
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