Enum tauri_utils::config::BundleTarget
source · pub enum BundleTarget {
All,
List(Vec<BundleType>),
One(BundleType),
}
Expand description
Targets to bundle. Each value is case insensitive.
Variants§
All
Bundle all targets.
List(Vec<BundleType>)
A list of bundle targets.
One(BundleType)
A single bundle target.
Implementations§
source§impl BundleTarget
impl BundleTarget
sourcepub fn to_vec(&self) -> Vec<BundleType>
pub fn to_vec(&self) -> Vec<BundleType>
Gets the bundle targets as a Vec
. The vector is empty when set to BundleTarget::All
.
Trait Implementations§
source§impl Clone for BundleTarget
impl Clone for BundleTarget
source§fn clone(&self) -> BundleTarget
fn clone(&self) -> BundleTarget
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 moresource§impl Debug for BundleTarget
impl Debug for BundleTarget
source§impl Default for BundleTarget
impl Default for BundleTarget
source§impl<'de> Deserialize<'de> for BundleTarget
impl<'de> Deserialize<'de> for BundleTarget
source§fn 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
source§impl PartialEq for BundleTarget
impl PartialEq for BundleTarget
source§impl Serialize for BundleTarget
impl Serialize for BundleTarget
impl Eq for BundleTarget
impl StructuralPartialEq for BundleTarget
Auto Trait Implementations§
impl Freeze for BundleTarget
impl RefUnwindSafe for BundleTarget
impl Send for BundleTarget
impl Sync for BundleTarget
impl Unpin for BundleTarget
impl UnwindSafe for BundleTarget
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
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.