#[non_exhaustive]pub struct IsoLanguage {
pub two_letter_code: &'static str,
pub country_code: &'static str,
pub three_letter_code: &'static str,
pub language: Language,
}Expand description
One row of Sonarr’s IsoLanguages.All: ISO-639-1 (2-letter),
optional ISO-3166 country code, ISO-639-2/T (3-letter), and the
Language it identifies.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.two_letter_code: &'static str§country_code: &'static str§three_letter_code: &'static str§language: LanguageTrait Implementations§
Source§impl Clone for IsoLanguage
impl Clone for IsoLanguage
Source§fn clone(&self) -> IsoLanguage
fn clone(&self) -> IsoLanguage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IsoLanguage
Source§impl Debug for IsoLanguage
impl Debug for IsoLanguage
impl Eq for IsoLanguage
Source§impl PartialEq for IsoLanguage
impl PartialEq for IsoLanguage
impl StructuralPartialEq for IsoLanguage
Auto Trait Implementations§
impl Freeze for IsoLanguage
impl RefUnwindSafe for IsoLanguage
impl Send for IsoLanguage
impl Sync for IsoLanguage
impl Unpin for IsoLanguage
impl UnsafeUnpin for IsoLanguage
impl UnwindSafe for IsoLanguage
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