Address

Trait Address 

Source
pub trait Address {
    // Required method
    fn content_address(&self) -> ContentAddress;
}
Expand description

Standardized trait for creating content addresses for types using the correct constructors.

Required Methods§

Source

fn content_address(&self) -> ContentAddress

Produce the content address for self.

Implementations on Foreign Types§

Source§

impl Address for Contract

Source§

impl Address for Predicate

Source§

impl Address for Program

Source§

impl Address for Solution

Source§

impl Address for SolutionSet

Implementors§