Trait OutputView

Source
pub trait OutputView {
    // Required method
    fn value(&self) -> Zatoshis;
}
Expand description

A trait that provides a minimized view of a Sapling output suitable for use in fee and change calculation.

Required Methods§

Source

fn value(&self) -> Zatoshis

The value of the output being produced.

Implementations on Foreign Types§

Source§

impl OutputView for Infallible

Source§

fn value(&self) -> Zatoshis

Source§

impl OutputView for OutputInfo

Source§

fn value(&self) -> Zatoshis

Implementors§