Enum tauri_utils::config::PatternKind
source · pub enum PatternKind {
Brownfield,
Isolation {
dir: PathBuf,
},
}
Expand description
The application pattern.
Variants
Brownfield
Brownfield pattern.
Isolation
Fields
dir: PathBuf
The dir containing the index.html file that contains the secure isolation application.
Isolation pattern. Recommended for security purposes.
Trait Implementations
sourceimpl Clone for PatternKind
impl Clone for PatternKind
sourcefn clone(&self) -> PatternKind
fn clone(&self) -> PatternKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PatternKind
impl Debug for PatternKind
sourceimpl Default for PatternKind
impl Default for PatternKind
sourceimpl<'de> Deserialize<'de> for PatternKind
impl<'de> Deserialize<'de> for PatternKind
sourcefn 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
sourceimpl From<&PatternKind> for PatternObject
impl From<&PatternKind> for PatternObject
sourcefn from(pattern_kind: &PatternKind) -> Self
fn from(pattern_kind: &PatternKind) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PatternKind> for PatternKind
impl PartialEq<PatternKind> for PatternKind
sourcefn eq(&self, other: &PatternKind) -> bool
fn eq(&self, other: &PatternKind) -> bool
sourceimpl Serialize for PatternKind
impl Serialize for PatternKind
impl Eq for PatternKind
impl StructuralEq for PatternKind
impl StructuralPartialEq for PatternKind
Auto Trait Implementations
impl RefUnwindSafe for PatternKind
impl Send for PatternKind
impl Sync for PatternKind
impl Unpin for PatternKind
impl UnwindSafe for PatternKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more