pub struct CommandsConfig {
pub commands: Vec<CommandDefinition>,
}Expand description
Configuration file format for commands
Fields§
§commands: Vec<CommandDefinition>List of command definitions
Trait Implementations§
Source§impl Clone for CommandsConfig
impl Clone for CommandsConfig
Source§fn clone(&self) -> CommandsConfig
fn clone(&self) -> CommandsConfig
Returns a duplicate 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 CommandsConfig
impl Debug for CommandsConfig
Source§impl<'de> Deserialize<'de> for CommandsConfig
impl<'de> Deserialize<'de> for CommandsConfig
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
Auto Trait Implementations§
impl Freeze for CommandsConfig
impl RefUnwindSafe for CommandsConfig
impl Send for CommandsConfig
impl Sync for CommandsConfig
impl Unpin for CommandsConfig
impl UnwindSafe for CommandsConfig
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