pub struct MasterCache {
pub products: IndexMap<String, Vec<MasterPart>>,
}Expand description
MasterCache & Methods Holds the master inventory in a hashmap, where the key is the ven_code, and the value is a MasterPart struct. This is for efficiency when searching through the master cache.
Fields§
§products: IndexMap<String, Vec<MasterPart>>Implementations§
Source§impl MasterCache
impl MasterCache
Auto Trait Implementations§
impl Freeze for MasterCache
impl RefUnwindSafe for MasterCache
impl Send for MasterCache
impl Sync for MasterCache
impl Unpin for MasterCache
impl UnwindSafe for MasterCache
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