pub enum QappKind {
Cooperative,
Health,
Journal,
Directory,
Custom(String),
}Expand description
The kind of qapp. Extensible: QappKind::Custom carries an arbitrary id so new kinds
need no code change. Serializes in snake_case; Custom("x") serializes as its inner string.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QappKind
impl<'de> Deserialize<'de> for QappKind
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 Eq for QappKind
impl StructuralPartialEq for QappKind
Auto Trait Implementations§
impl Freeze for QappKind
impl RefUnwindSafe for QappKind
impl Send for QappKind
impl Sync for QappKind
impl Unpin for QappKind
impl UnsafeUnpin for QappKind
impl UnwindSafe for QappKind
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