1 2 3 4 5 6 7
use crate::{internal::Sealed, Bot}; /// A general trait for all contexts. pub trait Context: Sealed { /// A bot for calling API without information inference. fn bot(&self) -> &Bot; }
1 2 3 4 5 6 7
use crate::{internal::Sealed, Bot}; /// A general trait for all contexts. pub trait Context: Sealed { /// A bot for calling API without information inference. fn bot(&self) -> &Bot; }