pub struct LangItem {
pub id: i64,
pub code: String,
pub name: String,
pub index: i64,
}
Expand description
Describes a language element
§Values
id: i64
- Language ID.lang: String
- Languane name ISO 639-1: uk - ukrainian, en - english, en - english.code: String
- Languane code ISO 3166 alpha-2: ua - Ukraine, us - USA, gb - United Kingdom.name: String
- Native name of the language.index: i64
- Index in JSON type field db.
Fields§
§id: i64
Language ID
code: String
Languane name ISO 639-1: uk - ukrainian, en - english, en - english
name: String
Native name of the language
index: i64
Index in JSON type field db
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LangItem
impl RefUnwindSafe for LangItem
impl Send for LangItem
impl Sync for LangItem
impl Unpin for LangItem
impl UnwindSafe for LangItem
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