pub struct MetaConfig {
pub type_aliases: HashMap<String, String>,
pub command_aliases: HashMap<String, String>,
pub default_command: Option<String>,
pub custom_tags: Vec<String>,
pub notify: NotifyConfig,
}Fields§
§type_aliases: HashMap<String, String>§command_aliases: HashMap<String, String>§default_command: Option<String>§notify: NotifyConfigTrait Implementations§
Source§impl Clone for MetaConfig
impl Clone for MetaConfig
Source§fn clone(&self) -> MetaConfig
fn clone(&self) -> MetaConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetaConfig
impl Debug for MetaConfig
Source§impl Default for MetaConfig
impl Default for MetaConfig
Source§fn default() -> MetaConfig
fn default() -> MetaConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetaConfig
impl<'de> Deserialize<'de> for MetaConfig
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 MetaConfig
impl RefUnwindSafe for MetaConfig
impl Send for MetaConfig
impl Sync for MetaConfig
impl Unpin for MetaConfig
impl UnsafeUnpin for MetaConfig
impl UnwindSafe for MetaConfig
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