Struct seaplane_cli::context::Db
source · 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
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more