Struct rust_iso639::LanguageCode
source · pub struct LanguageCode<'a> {
pub name: &'static str,
pub code: &'static str,
pub code_2t: &'static str,
pub code_2b: &'static str,
pub code_3: &'static str,
pub individual_languages: &'a [IndividualLanguages],
}
Fields§
§name: &'static str
ISO Language Name
code: &'static str
639-1
code_2t: &'static str
639-2/T
code_2b: &'static str
639-2/B
code_3: &'static str
§individual_languages: &'a [IndividualLanguages]
Trait Implementations§
source§impl<'a> Clone for LanguageCode<'a>
impl<'a> Clone for LanguageCode<'a>
source§fn clone(&self) -> LanguageCode<'a>
fn clone(&self) -> LanguageCode<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for LanguageCode<'a>
impl<'a> Debug for LanguageCode<'a>
source§impl<'a> Hash for LanguageCode<'a>
impl<'a> Hash for LanguageCode<'a>
source§impl<'a> PartialEq<LanguageCode<'a>> for LanguageCode<'a>
impl<'a> PartialEq<LanguageCode<'a>> for LanguageCode<'a>
source§fn eq(&self, other: &LanguageCode<'a>) -> bool
fn eq(&self, other: &LanguageCode<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.