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: String
App name
version: Version
App version
The crate authors.
description: &'static str
The crate description.
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 Freeze for PackageInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)