pub struct ConfigLogSettings {
pub enable_console: Option<bool>,
pub console_level: Option<String>,
pub enable_file: Option<bool>,
pub file_level: Option<String>,
pub file_location: Option<String>,
pub enable_webhook_debugging: Option<bool>,
pub enable_diagnostics: Option<bool>,
}
Fields§
§enable_console: Option<bool>
§console_level: Option<String>
§enable_file: Option<bool>
§file_level: Option<String>
§file_location: Option<String>
§enable_webhook_debugging: Option<bool>
§enable_diagnostics: Option<bool>
Implementations§
Source§impl ConfigLogSettings
impl ConfigLogSettings
pub fn new() -> ConfigLogSettings
Trait Implementations§
Source§impl Clone for ConfigLogSettings
impl Clone for ConfigLogSettings
Source§fn clone(&self) -> ConfigLogSettings
fn clone(&self) -> ConfigLogSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConfigLogSettings
impl Debug for ConfigLogSettings
Source§impl Default for ConfigLogSettings
impl Default for ConfigLogSettings
Source§fn default() -> ConfigLogSettings
fn default() -> ConfigLogSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigLogSettings
impl<'de> Deserialize<'de> for ConfigLogSettings
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 PartialEq for ConfigLogSettings
impl PartialEq for ConfigLogSettings
Source§impl Serialize for ConfigLogSettings
impl Serialize for ConfigLogSettings
impl StructuralPartialEq for ConfigLogSettings
Auto Trait Implementations§
impl Freeze for ConfigLogSettings
impl RefUnwindSafe for ConfigLogSettings
impl Send for ConfigLogSettings
impl Sync for ConfigLogSettings
impl Unpin for ConfigLogSettings
impl UnwindSafe for ConfigLogSettings
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