[][src]Struct simple_locale::codes::script::ScriptInfo

pub struct ScriptInfo {
    pub alphabetic_code: String,
    pub numeric_code: u16,
    pub name: String,
    pub alias: Option<String>,
}

A representation of registered script data maintained by ISO.

Fields

alphabetic_code: String

The standard 3-character identifier for this script.

numeric_code: u16

The standard numeric identifier for this script.

name: String

The script name, in English.

alias: Option<String>

An optional alias for this script.

Trait Implementations

impl Debug for ScriptInfo[src]

impl Serialize for ScriptInfo[src]

impl<'de> Deserialize<'de> for ScriptInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]