fn check(word: &str) -> Self {
        match word.to_lowercase().as_ref() {
            "set" | "put" | "insert" | "in" | "i" => Self::Set,
            "get" | "select" | "output" | "out" | "o" => Self::Get,
            "del" | "delete" | "rem" | "remove" | "rm" | "d" => Self::Del,
            _ => Self::Unk,
        }
    }
/// Convert written operation keywords into enum symbols.
Convert written operation keywords into enum symbols.
Convert written operation keywords into enum symbols .
fn check(word: &str) -> Self {
        match word.to_lowercase().as_ref() {
            "set" | "put" | "insert" | "in" | "i" => Self::Set,
            "get" | "select" | "output" | "out" | "o" => Self::Get,
            "del" | "delete" | "rem" | "remove" | "rm" | "d" => Self::Del,
            _ => Self::Unk,
        }
    }
fn check ( word : & str ) -> Self { match word . to_lowercase ( ) . as_ref ( ) { " " | " " | " " | " " | " " => Self :: Set , " " | " " | " " | " " | " " => Self :: Get , " " | " " | " " | " " | " " | " " => Self :: Del , _ => Self :: Unk , } }
Convert written operation keywords into enum symbols.
Convert written operation keywords into enum symbols .
word
&str
word
&str