Struct bee_message::payload::treasury::TreasuryTransactionPayload[][src]

pub struct TreasuryTransactionPayload { /* fields omitted */ }

TreasuryTransaction represents a transaction which moves funds from the treasury.

Implementations

impl TreasuryTransactionPayload[src]

pub const KIND: u32[src]

The payload kind of a TreasuryTransaction.

pub fn new(input: Input, output: Output) -> Result<Self, Error>[src]

Creates a new TreasuryTransaction.

pub fn input(&self) -> &Input[src]

Returns the input of a TreasuryTransaction.

pub fn output(&self) -> &Output[src]

Returns the output of a TreasuryTransaction.

Trait Implementations

impl Clone for TreasuryTransactionPayload[src]

impl Debug for TreasuryTransactionPayload[src]

impl Eq for TreasuryTransactionPayload[src]

impl From<TreasuryTransactionPayload> for Payload[src]

impl Packable for TreasuryTransactionPayload[src]

type Error = Error

Associated error type.

impl PartialEq<TreasuryTransactionPayload> for TreasuryTransactionPayload[src]

impl StructuralEq for TreasuryTransactionPayload[src]

impl StructuralPartialEq for TreasuryTransactionPayload[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.