pub(crate) struct PlatformTarget {
pub(crate) DownloadIdentifier: String,
pub(crate) ArchiveExtension: String,
pub(crate) TauriTargetTriple: String,
}Expand description
Represents a single platform target for which binaries will be downloaded. This struct holds all the necessary identifiers for a given platform.
Fields§
§DownloadIdentifier: StringThe identifier used in the download URL (e.g., “win-x64”, “linux-arm64”).
ArchiveExtension: StringThe file extension of the archive (e.g., “zip”, “tar.gz”).
TauriTargetTriple: StringThe official Tauri target triple for this platform (e.g., “x86_64-pc-windows-msvc”).
Trait Implementations§
Source§impl Clone for PlatformTarget
impl Clone for PlatformTarget
Source§fn clone(&self) -> PlatformTarget
fn clone(&self) -> PlatformTarget
Returns a duplicate 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 PlatformTarget
impl RefUnwindSafe for PlatformTarget
impl Send for PlatformTarget
impl Sync for PlatformTarget
impl Unpin for PlatformTarget
impl UnwindSafe for PlatformTarget
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