pub enum CommandType {
INC,
DEC,
ASSIGN,
INSERT,
}
Variants§
Implementations§
Source§impl CommandType
impl CommandType
pub fn from_tag_name(tag_name: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for CommandType
impl Clone for CommandType
Source§fn clone(&self) -> CommandType
fn clone(&self) -> CommandType
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 CommandType
impl Debug for CommandType
Source§impl Default for CommandType
impl Default for CommandType
Source§fn default() -> CommandType
fn default() -> CommandType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandType
impl<'de> Deserialize<'de> for CommandType
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 PartialEq for CommandType
impl PartialEq for CommandType
Source§impl Serialize for CommandType
impl Serialize for CommandType
impl StructuralPartialEq for CommandType
Auto Trait Implementations§
impl Freeze for CommandType
impl RefUnwindSafe for CommandType
impl Send for CommandType
impl Sync for CommandType
impl Unpin for CommandType
impl UnwindSafe for CommandType
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