pub struct BotState {
pub bot_marker: String,
pub bot_info: SlackBotInfo,
pub slack_cli: Arc<dyn SlackCli>,
pub known_channels: DashMap<SlackChannelId, String>,
pub known_channels_rev: DashMap<String, SlackChannelId>,
pub start_time: Instant,
/* private fields */
}Fields§
§bot_marker: String§bot_info: SlackBotInfo§slack_cli: Arc<dyn SlackCli>§known_channels: DashMap<SlackChannelId, String>§known_channels_rev: DashMap<String, SlackChannelId>§start_time: InstantAuto Trait Implementations§
impl Freeze for BotState
impl !RefUnwindSafe for BotState
impl Send for BotState
impl Sync for BotState
impl Unpin for BotState
impl !UnwindSafe for BotState
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more