Enum rgb::contract::seal::SealEndpoint[][src]

pub enum SealEndpoint {
    TxOutpoint(OutpointHash),
    WitnessVout {
        vout: u32,
        blinding: u64,
    },
}

Seal endpoint is required in situations where sender assigns state to the witness transaction output on behalf of receiver

Variants

TxOutpoint(OutpointHash)

Seal that is concealed

WitnessVout

Seal contained within the witness transaction

Fields of WitnessVout

vout: u32blinding: u64

Implementations

impl SealEndpoint[src]

pub fn with_vout(vout: u32, rng: &mut impl RngCore) -> SealEndpoint[src]

Trait Implementations

impl Clone for SealEndpoint[src]

impl CommitConceal for SealEndpoint[src]

type ConcealedCommitment = Confidential

impl Copy for SealEndpoint[src]

impl Debug for SealEndpoint[src]

impl<'de> Deserialize<'de> for SealEndpoint[src]

impl Display for SealEndpoint[src]

impl Eq for SealEndpoint[src]

impl From<OutpointHash> for SealEndpoint[src]

impl From<Revealed> for SealEndpoint[src]

impl Ord for SealEndpoint[src]

impl PartialEq<SealEndpoint> for SealEndpoint[src]

impl PartialOrd<SealEndpoint> for SealEndpoint[src]

impl Serialize for SealEndpoint[src]

impl StrictDecode for SealEndpoint[src]

impl StrictEncode for SealEndpoint[src]

impl StructuralEq for SealEndpoint[src]

impl StructuralPartialEq for SealEndpoint[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,