Trait OutputView

Source
pub trait OutputView {
    // Required method
    fn value(&self) -> Zatoshis;
}
Available on crate feature orchard only.
Expand description

A trait that provides a minimized view of a Orchard 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

Implementors§