worldwide/language

Types

A language with its ISO 639-1 (two-letter) code.

pub type Language {
  Language(name: String, iso639_1: String, native_name: String)
}

Constructors

  • Language(name: String, iso639_1: String, native_name: String)

Values

pub fn iso639_1(language: Language) -> String

A record access function for the iso639_1 field to use when composing functions and piping.

pub fn name(language: Language) -> String

A record access function for the name field to use when composing functions and piping.

pub fn native_name(language: Language) -> String

A record access function for the native_name field to use when composing functions and piping.

Search Document