pub fn by_code<Q>(&self, key: &Q) -> Option<Vec<&super::Metadata>>
		where Q:   ?Sized + Hash + Eq,
		      u16: Borrow<Q>,
	{
		self.by_code.get(key).map(|m| m.iter().map(AsRef::as_ref).collect())
	}
/// Get metadata entries by country code.
Get metadata entries by country code.
Get metadata entries by country code .
pub fn by_code<Q>(&self, key: &Q) -> Option<Vec<&super::Metadata>>
		where Q:   ?Sized + Hash + Eq,
		      u16: Borrow<Q>,
	{
		self.by_code.get(key).map(|m| m.iter().map(AsRef::as_ref).collect())
	}
pub fn by_code < Q > ( & self , key : & Q ) -> Option < Vec < & super :: Metadata > > where Q : ? Sized + Hash + Eq , u16 : Borrow < Q > , { self . by_code . get ( key ) . map ( | m | m . iter ( ) . map ( AsRef :: as_ref ) . collect ( ) ) }
Get metadata entries by country code.
Get metadata entries by country code .
&self
key
&Q