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§
§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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)