Struct data_encoding::Translate [] [src]

pub struct Translate {
    pub from: String,
    pub to: String,
}

How to translate characters when decoding

The order matters. The first character of the from field is translated to the first character of the to field. The second to the second. Etc.

See Specification for more information.

Fields

Characters to translate from

Characters to translate to

Trait Implementations

impl Debug for Translate
[src]

Formats the value using the given formatter.

impl Clone for Translate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more