Enum tauri_utils::config::PatternKind
source · pub enum PatternKind {
Brownfield,
Isolation {
dir: PathBuf,
},
}Expand description
The application pattern.
Variants§
Brownfield
Brownfield pattern.
Isolation
Fields
Isolation pattern. Recommended for security purposes.
Trait Implementations§
source§impl Clone for PatternKind
impl Clone for PatternKind
source§fn clone(&self) -> PatternKind
fn clone(&self) -> PatternKind
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 PatternKind
impl Debug for PatternKind
source§impl Default for PatternKind
impl Default for PatternKind
source§impl<'de> Deserialize<'de> for PatternKind
impl<'de> Deserialize<'de> for PatternKind
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 From<&PatternKind> for PatternObject
impl From<&PatternKind> for PatternObject
source§fn from(pattern_kind: &PatternKind) -> Self
fn from(pattern_kind: &PatternKind) -> Self
Converts to this type from the input type.
source§impl PartialEq<PatternKind> for PatternKind
impl PartialEq<PatternKind> for PatternKind
source§fn eq(&self, other: &PatternKind) -> bool
fn eq(&self, other: &PatternKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.