pub enum ModeKind {
Plan,
Default,
}Expand description
Initial collaboration mode to use when the TUI starts.
JSON schema
{
"description": "Initial collaboration mode to use when the TUI starts.",
"type": "string",
"enum": [
"plan",
"default"
]
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModeKind
impl<'de> Deserialize<'de> for ModeKind
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 Ord for ModeKind
impl Ord for ModeKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ModeKind
impl PartialOrd for ModeKind
Source§impl TryFrom<&String> for ModeKind
impl TryFrom<&String> for ModeKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ModeKind
impl TryFrom<&str> for ModeKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ModeKind
impl TryFrom<String> for ModeKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for ModeKind
impl Eq for ModeKind
impl StructuralPartialEq for ModeKind
Auto Trait Implementations§
impl Freeze for ModeKind
impl RefUnwindSafe for ModeKind
impl Send for ModeKind
impl Sync for ModeKind
impl Unpin for ModeKind
impl UnsafeUnpin for ModeKind
impl UnwindSafe for ModeKind
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.