Struct bech32::Bech32 [] [src]

pub struct Bech32 {
    pub hrp: String,
    pub data: Vec<u8>,
}

Grouping structure for the human-readable part and the data part of decoded Bech32 string.

Fields

Human-readable part

Data payload

Methods

impl Bech32
[src]

[src]

Encode as a string

[src]

Decode from a string

Trait Implementations

impl PartialEq for Bech32
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Bech32
[src]

[src]

Formats the value using the given formatter.

impl Clone for Bech32
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more