pub struct YearCategoryESMapping {
pub mapping: HashMap<YearCategoryESEnum, BuildingTypeMapping>,
}Fields§
§mapping: HashMap<YearCategoryESEnum, BuildingTypeMapping>Implementations§
Source§impl YearCategoryESMapping
impl YearCategoryESMapping
pub fn new() -> Self
pub fn get( &self, year_category: YearCategoryESEnum, ) -> Option<&BuildingTypeMapping>
pub fn insert( &mut self, year_category: YearCategoryESEnum, building_type_mapping: BuildingTypeMapping, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YearCategoryESMapping
impl RefUnwindSafe for YearCategoryESMapping
impl Send for YearCategoryESMapping
impl Sync for YearCategoryESMapping
impl Unpin for YearCategoryESMapping
impl UnwindSafe for YearCategoryESMapping
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