pub struct AppData {
pub db: Database,
pub http_client: Client,
}
Fields§
§db: Database
§http_client: Client
Trait 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