usestd::ops::Deref;/// Contains the state of the bot. Currently only contains a user defined object, but will be augmented with other fields
pubstructBotState<T>
where
T: Sync,
{/// User defined state
pubstate: T,
}impl<T:Sync> Deref forBotState<T>{typeTarget= T;fnderef(&self)->&Self::Target{&self.state
}}