#[repr(u8)]pub enum AppType {
Web = 0,
Tauri = 1,
}Expand description
Whether this app is a web application or a Tauri cross-platform app.
Variants§
Web = 0
Web application (SPA, SSR, static site). All legacy Projects map here.
Tauri = 1
Cross-platform desktop/mobile application built with Tauri.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppType
impl<'de> Deserialize<'de> for AppType
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
impl Copy for AppType
impl Eq for AppType
impl StructuralPartialEq for AppType
Auto Trait Implementations§
impl Freeze for AppType
impl RefUnwindSafe for AppType
impl Send for AppType
impl Sync for AppType
impl Unpin for AppType
impl UnsafeUnpin for AppType
impl UnwindSafe for AppType
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