pub enum Language {
English,
ChineseSimplified,
ChineseTraditional,
French,
Italian,
Japanese,
Korean,
Spanish,
}
Expand description
The language determines which words will be used in a mnemonic phrase, but also indirectly
determines the binary value of each word when a Mnemonic
is turned into a Seed
.
These are not of much use right now, and may even be removed from the crate, as there is no official language specified by the standard except English.
Variants
English
ChineseSimplified
ChineseTraditional
French
Italian
Japanese
Korean
Spanish
Implementations
Construct a word list from its language code. Returns None if the language code is not valid or not supported.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Language
impl UnwindSafe for Language
Blanket Implementations
Mutably borrows from an owned value. Read more