pub struct BotConfig {
pub name: String,
pub think_interval: Duration,
pub harvest_once: bool,
pub hunt_once: bool,
pub say_once: Option<String>,
}Fields§
§name: String§think_interval: Duration§harvest_once: bool§hunt_once: bool§say_once: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BotConfig
impl RefUnwindSafe for BotConfig
impl Send for BotConfig
impl Sync for BotConfig
impl Unpin for BotConfig
impl UnsafeUnpin for BotConfig
impl UnwindSafe for BotConfig
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