pub struct HotlConfig {
pub settings: Settings,
pub plugins: Plugins,
}Fields§
§settings: Settings§plugins: PluginsImplementations§
Source§impl HotlConfig
impl HotlConfig
pub fn parse(toml_str: &str) -> HotlConfig
pub fn parse_checked(toml_str: &str) -> (HotlConfig, Option<String>)
pub fn load() -> HotlConfig
pub fn load_with_warning() -> (HotlConfig, Option<String>)
Trait Implementations§
Source§impl Clone for HotlConfig
impl Clone for HotlConfig
Source§fn clone(&self) -> HotlConfig
fn clone(&self) -> HotlConfig
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 HotlConfig
impl Debug for HotlConfig
Source§impl Default for HotlConfig
impl Default for HotlConfig
Source§fn default() -> HotlConfig
fn default() -> HotlConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HotlConfigwhere
HotlConfig: Default,
impl<'de> Deserialize<'de> for HotlConfigwhere
HotlConfig: Default,
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 HotlConfig
impl RefUnwindSafe for HotlConfig
impl Send for HotlConfig
impl Sync for HotlConfig
impl Unpin for HotlConfig
impl UnsafeUnpin for HotlConfig
impl UnwindSafe for HotlConfig
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