Struct bee_message::input::UtxoInput[][src]

pub struct UtxoInput(_);

Represents an input referencing an output.

Implementations

impl UtxoInput[src]

pub const KIND: u8[src]

The input kind of a UtxoInput.

pub fn new(id: TransactionId, index: u16) -> Result<Self, Error>[src]

Creates a new UtxoInput.

pub fn output_id(&self) -> &OutputId[src]

Returns the output id of a UtxoInput.

Trait Implementations

impl Clone for UtxoInput[src]

impl Debug for UtxoInput[src]

impl Display for UtxoInput[src]

impl Eq for UtxoInput[src]

impl From<OutputId> for UtxoInput[src]

impl From<UtxoInput> for Input[src]

impl FromStr for UtxoInput[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for UtxoInput[src]

impl Ord for UtxoInput[src]

impl Packable for UtxoInput[src]

type Error = Error

Associated error type.

impl PartialEq<UtxoInput> for UtxoInput[src]

impl PartialOrd<UtxoInput> for UtxoInput[src]

impl StructuralEq for UtxoInput[src]

impl StructuralPartialEq for UtxoInput[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> ToString for T where
    T: Display + ?Sized
[src]

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.