Trait bc_ur::UREncodable

source ·
pub trait UREncodable: CBORTaggedEncodable {
    // Provided methods
    fn ur(&self) -> UR { ... }
    fn ur_string(&self) -> String { ... }
}
Expand description

A type that can be encoded to a UR.

Provided Methods§

source

fn ur(&self) -> UR

Returns the UR representation of the object.

source

fn ur_string(&self) -> String

Returns the UR string representation of the object.

Implementors§