Struct bee_message::payload::transaction::RegularEssence[][src]

pub struct RegularEssence { /* fields omitted */ }

A transaction regular essence consuming inputs, creating outputs and carrying an optional payload.

Implementations

impl RegularEssence[src]

pub const KIND: u8[src]

The essence kind of a RegularEssence

pub fn builder() -> RegularEssenceBuilder[src]

Create a new RegularEssenceBuilder to build a RegularEssence.

pub fn inputs(&self) -> &[Input]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Return the inputs of a RegularEssence.

pub fn outputs(&self) -> &[Output]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Return the outputs of a RegularEssence.

pub fn payload(&self) -> &Option<Payload>[src]

Return the optional payload of a RegularEssence.

Trait Implementations

impl Clone for RegularEssence[src]

impl Debug for RegularEssence[src]

impl Eq for RegularEssence[src]

impl From<RegularEssence> for Essence[src]

impl Packable for RegularEssence[src]

type Error = Error

Associated error type.

impl PartialEq<RegularEssence> for RegularEssence[src]

impl StructuralEq for RegularEssence[src]

impl StructuralPartialEq for RegularEssence[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.