Struct torrust_index_backend::common::AppData
source · pub struct AppData {
pub cfg: Arc<Configuration>,
pub database: Arc<Box<dyn Database>>,
pub auth: Arc<AuthorizationService>,
pub tracker_service: Arc<Service>,
pub tracker_statistics_importer: Arc<StatisticsImporter>,
pub mailer: Arc<Service>,
pub image_cache_manager: Arc<ImageCacheService>,
}
Fields§
§cfg: Arc<Configuration>
§database: Arc<Box<dyn Database>>
§auth: Arc<AuthorizationService>
§tracker_service: Arc<Service>
§tracker_statistics_importer: Arc<StatisticsImporter>
§mailer: Arc<Service>
§image_cache_manager: Arc<ImageCacheService>
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AppData
impl Send for AppData
impl Sync for AppData
impl Unpin for AppData
impl !UnwindSafe for AppData
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