Enum rgb::contract::seal::SealEndpoint [−][src]
pub enum SealEndpoint { TxOutpoint(OutpointHash), WitnessVout { vout: u32, blinding: u64, }, }
Expand description
Seal endpoint is required in situations where sender assigns state to the witness transaction output on behalf of receiver
Variants
TxOutpoint(OutpointHash)
Expand description
Seal that is concealed
Expand description
Seal contained within the witness transaction
Implementations
impl SealEndpoint
[src]
impl SealEndpoint
[src]pub fn with_vout(vout: u32, rng: &mut impl RngCore) -> SealEndpoint
[src]
Trait Implementations
impl Clone for SealEndpoint
[src]
impl Clone for SealEndpoint
[src]fn clone(&self) -> SealEndpoint
[src]
fn clone(&self) -> SealEndpoint
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl CommitConceal for SealEndpoint
[src]
impl CommitConceal for SealEndpoint
[src]impl Debug for SealEndpoint
[src]
impl Debug for SealEndpoint
[src]impl<'de> Deserialize<'de> for SealEndpoint
[src]
impl<'de> Deserialize<'de> for SealEndpoint
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Display for SealEndpoint
[src]
impl Display for SealEndpoint
[src]impl From<OutpointHash> for SealEndpoint
[src]
impl From<OutpointHash> for SealEndpoint
[src]fn from(v: OutpointHash) -> Self
[src]
fn from(v: OutpointHash) -> Self
[src]Performs the conversion.
impl From<Revealed> for SealEndpoint
[src]
impl From<Revealed> for SealEndpoint
[src]fn from(seal_definition: SealDefinition) -> Self
[src]
fn from(seal_definition: SealDefinition) -> Self
[src]Performs the conversion.
impl Ord for SealEndpoint
[src]
impl Ord for SealEndpoint
[src]impl PartialEq<SealEndpoint> for SealEndpoint
[src]
impl PartialEq<SealEndpoint> for SealEndpoint
[src]fn eq(&self, other: &SealEndpoint) -> bool
[src]
fn eq(&self, other: &SealEndpoint) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SealEndpoint) -> bool
[src]
fn ne(&self, other: &SealEndpoint) -> bool
[src]This method tests for !=
.
impl PartialOrd<SealEndpoint> for SealEndpoint
[src]
impl PartialOrd<SealEndpoint> for SealEndpoint
[src]fn partial_cmp(&self, other: &SealEndpoint) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &SealEndpoint) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Serialize for SealEndpoint
[src]
impl Serialize for SealEndpoint
[src]impl StrictDecode for SealEndpoint
[src]
impl StrictDecode for SealEndpoint
[src]impl StrictEncode for SealEndpoint
[src]
impl StrictEncode for SealEndpoint
[src]impl Copy for SealEndpoint
[src]
impl Eq for SealEndpoint
[src]
impl StructuralEq for SealEndpoint
[src]
impl StructuralPartialEq for SealEndpoint
[src]
Auto Trait Implementations
impl RefUnwindSafe for SealEndpoint
impl Send for SealEndpoint
impl Sync for SealEndpoint
impl Unpin for SealEndpoint
impl UnwindSafe for SealEndpoint
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,