pub struct Db {
pub flights: Flights,
pub formations: Formations,
pub needs_persist: bool,
}Expand description
The in memory “Databases”
Fields§
§flights: FlightsThe in memory Flights database
formations: FormationsThe in memory Formations database
needs_persist: boolA hint that we should persist at some point. Not gospel
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Db
impl RefUnwindSafe for Db
impl Send for Db
impl Sync for Db
impl Unpin for Db
impl UnwindSafe for Db
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