You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: control.rs
    path of file: ./repos/yazi/yazi-config/src/keymap
    
    the code of the file until where you have to start completion: use std::{borrow::Cow, collections::VecDeque, sync::atomic::Ordering};

use serde::{Deserialize, Deserializer};
use yazi_shared::event::Cmd;

use super::Key;
use crate::DEPRECATED_EXEC;

#[derive(Debug, Default)]
pub struct Control {
	pub on:   Vec<Key>
    
	pub fn on(&self) -> String { self.on.iter().map(ToString::to_string).collect() }

	#[inline]
	pub fn run(&self) -> String {
		self.run.iter().map(|e| e.to_string()).collect::<Vec<_>>().join("; ")
	}

	#[inline]
	pub fn desc_or_run(&self) -> Cow<str> {
		if let Some(ref s) = self.desc { Cow::Borrowed(s) } else { self.run().into() }
	}

	#[inline]
	pub fn contains(&self, s: &str) -> bool {
		let s = s.to_lowercase();
		self.desc.as_ref().map(|d| d.to_lowercase().contains(&s)) == Some(true)
			|| self.run().to_lowercase().contains(&s)
			|| self.on().to_lowercase().contains(&s)
	}
}