pub struct CommandExample {
pub name: String,
pub description: String,
pub value: String,
pub platforms: Option<Vec<String>>,
pub authors: String,
}Fields§
§name: String§description: String§value: String§platforms: Option<Vec<String>>Implementations§
Source§impl CommandExample
impl CommandExample
pub fn get_by_category(&self, category: &FuzzySearchCategory) -> &str
pub fn to_string(&self) -> String
Trait Implementations§
Source§impl Debug for CommandExample
impl Debug for CommandExample
Source§impl<'de> Deserialize<'de> for CommandExample
impl<'de> Deserialize<'de> for CommandExample
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<'a> From<&'a str> for CommandExample
impl<'a> From<&'a str> for CommandExample
Source§impl PartialEq for CommandExample
impl PartialEq for CommandExample
Source§impl Serialize for CommandExample
impl Serialize for CommandExample
impl StructuralPartialEq for CommandExample
Auto Trait Implementations§
impl Freeze for CommandExample
impl RefUnwindSafe for CommandExample
impl Send for CommandExample
impl Sync for CommandExample
impl Unpin for CommandExample
impl UnwindSafe for CommandExample
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