pub struct BELFIORE_STORE { /* private fields */ }Expand description
This is a static Belfiore codes DB
Methods from Deref<Target = Belfiore>§
Sourcepub fn get_info(&self, municipality_name: &str) -> Option<&Municipality>
pub fn get_info(&self, municipality_name: &str) -> Option<&Municipality>
Obtain info for a municipality (name, province and Belfiore code)
Sourcepub fn lookup_belfiore(&self, belfiore: &str) -> Option<&Municipality>
pub fn lookup_belfiore(&self, belfiore: &str) -> Option<&Municipality>
Obtain info for a Belfiore code
Trait Implementations§
Source§impl Deref for BELFIORE_STORE
impl Deref for BELFIORE_STORE
impl LazyStatic for BELFIORE_STORE
Auto Trait Implementations§
impl Freeze for BELFIORE_STORE
impl RefUnwindSafe for BELFIORE_STORE
impl Send for BELFIORE_STORE
impl Sync for BELFIORE_STORE
impl Unpin for BELFIORE_STORE
impl UnwindSafe for BELFIORE_STORE
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