Enum rgbstd::containers::BuilderSeal
source · pub enum BuilderSeal<Seal: ExposedSeal> {
Revealed(Seal),
Concealed(SecretSeal),
}Expand description
Seal used by operation builder which can be either revealed or concealed.
Variants§
Revealed(Seal)
Concealed(SecretSeal)
Trait Implementations§
source§impl<Seal: Clone + ExposedSeal> Clone for BuilderSeal<Seal>
impl<Seal: Clone + ExposedSeal> Clone for BuilderSeal<Seal>
source§fn clone(&self) -> BuilderSeal<Seal>
fn clone(&self) -> BuilderSeal<Seal>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<Seal: Debug + ExposedSeal> Debug for BuilderSeal<Seal>
impl<Seal: Debug + ExposedSeal> Debug for BuilderSeal<Seal>
source§impl<Seal> From<BlindSeal<TxPtr>> for BuilderSeal<Seal>where
Seal: From<GraphSeal> + ExposedSeal,
impl<Seal> From<BlindSeal<TxPtr>> for BuilderSeal<Seal>where Seal: From<GraphSeal> + ExposedSeal,
source§impl<Seal> From<BlindSeal<Txid>> for BuilderSeal<Seal>where
Seal: From<GenesisSeal> + ExposedSeal,
impl<Seal> From<BlindSeal<Txid>> for BuilderSeal<Seal>where Seal: From<GenesisSeal> + ExposedSeal,
source§fn from(seal: GenesisSeal) -> Self
fn from(seal: GenesisSeal) -> Self
Converts to this type from the input type.
source§impl<Seal> From<Outpoint> for BuilderSeal<Seal>where
Seal: From<Outpoint> + ExposedSeal,
impl<Seal> From<Outpoint> for BuilderSeal<Seal>where Seal: From<Outpoint> + ExposedSeal,
source§impl<Seal: ExposedSeal> From<SecretSeal> for BuilderSeal<Seal>
impl<Seal: ExposedSeal> From<SecretSeal> for BuilderSeal<Seal>
source§fn from(v: SecretSeal) -> Self
fn from(v: SecretSeal) -> Self
Converts to this type from the input type.
source§impl<Seal: Hash + ExposedSeal> Hash for BuilderSeal<Seal>
impl<Seal: Hash + ExposedSeal> Hash for BuilderSeal<Seal>
source§impl<Seal: Ord + ExposedSeal> Ord for BuilderSeal<Seal>
impl<Seal: Ord + ExposedSeal> Ord for BuilderSeal<Seal>
source§fn cmp(&self, other: &BuilderSeal<Seal>) -> Ordering
fn cmp(&self, other: &BuilderSeal<Seal>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<Seal: PartialEq + ExposedSeal> PartialEq<BuilderSeal<Seal>> for BuilderSeal<Seal>
impl<Seal: PartialEq + ExposedSeal> PartialEq<BuilderSeal<Seal>> for BuilderSeal<Seal>
source§fn eq(&self, other: &BuilderSeal<Seal>) -> bool
fn eq(&self, other: &BuilderSeal<Seal>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<Seal: PartialOrd + ExposedSeal> PartialOrd<BuilderSeal<Seal>> for BuilderSeal<Seal>
impl<Seal: PartialOrd + ExposedSeal> PartialOrd<BuilderSeal<Seal>> for BuilderSeal<Seal>
source§fn partial_cmp(&self, other: &BuilderSeal<Seal>) -> Option<Ordering>
fn partial_cmp(&self, other: &BuilderSeal<Seal>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<Seal: Copy + ExposedSeal> Copy for BuilderSeal<Seal>
impl<Seal: Eq + ExposedSeal> Eq for BuilderSeal<Seal>
impl<Seal: ExposedSeal> StructuralEq for BuilderSeal<Seal>
impl<Seal: ExposedSeal> StructuralPartialEq for BuilderSeal<Seal>
Auto Trait Implementations§
impl<Seal> RefUnwindSafe for BuilderSeal<Seal>where Seal: RefUnwindSafe,
impl<Seal> Send for BuilderSeal<Seal>where Seal: Send,
impl<Seal> Sync for BuilderSeal<Seal>where Seal: Sync,
impl<Seal> Unpin for BuilderSeal<Seal>where Seal: Unpin,
impl<Seal> UnwindSafe for BuilderSeal<Seal>where Seal: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.