[][src]Struct elements::TxOutWitness

pub struct TxOutWitness {
    pub surjection_proof: Vec<u8>,
    pub rangeproof: Vec<u8>,
}

Transaction output witness

Fields

surjection_proof: Vec<u8>

Surjection proof showing that the asset commitment is legitimate

rangeproof: Vec<u8>

Rangeproof showing that the value commitment is legitimate

Methods

impl TxOutWitness[src]

pub fn is_empty(&self) -> bool[src]

Whether this witness is null

Trait Implementations

impl Clone for TxOutWitness[src]

impl Debug for TxOutWitness[src]

impl Decodable for TxOutWitness[src]

impl Default for TxOutWitness[src]

impl Encodable for TxOutWitness[src]

impl Eq for TxOutWitness[src]

impl Hash for TxOutWitness[src]

impl PartialEq<TxOutWitness> for TxOutWitness[src]

impl StructuralEq for TxOutWitness[src]

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