pub struct SimpleBotConfig {
pub memory_limit: u8,
pub error_margin: f32,
}Fields§
§memory_limit: u8§error_margin: f32Trait Implementations§
Source§impl Debug for SimpleBotConfig
impl Debug for SimpleBotConfig
Source§impl<'de> Deserialize<'de> for SimpleBotConfig
impl<'de> Deserialize<'de> for SimpleBotConfig
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 SimpleBotConfig
impl RefUnwindSafe for SimpleBotConfig
impl Send for SimpleBotConfig
impl Sync for SimpleBotConfig
impl Unpin for SimpleBotConfig
impl UnsafeUnpin for SimpleBotConfig
impl UnwindSafe for SimpleBotConfig
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