pub type UtxoDeclaration = Output<Address>;

Aliased Type§

struct UtxoDeclaration {
    pub address: Address,
    pub value: Value,
}

Fields§

§address: Address§value: Value

Implementations§

source§

impl<Address> Output<Address>

source

pub fn from_address(address: Address, value: Value) -> Self

Trait Implementations§

source§

impl Arbitrary for Output<Address>

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl<Address: Clone> Clone for Output<Address>

source§

fn clone(&self) -> Output<Address>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Address: Debug> Debug for Output<Address>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Address: Deserialize> Deserialize for Output<Address>

source§

fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>

§

fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,

source§

impl Display for Output<Address>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Address: Hash> Hash for Output<Address>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<Address: PartialEq> PartialEq<Output<Address>> for Output<Address>

source§

fn eq(&self, other: &Output<Address>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<Address: Eq> Eq for Output<Address>

source§

impl<Address> StructuralEq for Output<Address>

source§

impl<Address> StructuralPartialEq for Output<Address>