pub struct Tools {
pub db: Db,
pub cache: Cache,
pub kafka: Kafka,
pub email: Mail,
}Expand description
配置文件
Fields§
§db: Db§cache: Cache§kafka: Kafka§email: MailImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tools
impl RefUnwindSafe for Tools
impl Send for Tools
impl Sync for Tools
impl Unpin for Tools
impl UnwindSafe for Tools
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