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<Txid>> for BuilderSeal<Seal>
impl<Seal> From<BlindSeal<Txid>> for BuilderSeal<Seal>
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>
impl<Seal> From<Outpoint> for BuilderSeal<Seal>
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 for BuilderSeal<Seal>
impl<Seal: PartialEq + ExposedSeal> PartialEq for BuilderSeal<Seal>
Source§impl<Seal: PartialOrd + ExposedSeal> PartialOrd for BuilderSeal<Seal>
impl<Seal: PartialOrd + ExposedSeal> PartialOrd for BuilderSeal<Seal>
impl<Seal: Copy + ExposedSeal> Copy for BuilderSeal<Seal>
impl<Seal: Eq + ExposedSeal> Eq for BuilderSeal<Seal>
impl<Seal: ExposedSeal> StructuralPartialEq for BuilderSeal<Seal>
Auto Trait Implementations§
impl<Seal> Freeze for BuilderSeal<Seal>where
Seal: Freeze,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.