pub enum WOutpoint {
Wout(Vout),
Extern(Outpoint),
}Expand description
A single-use seal definition type allowing seals to point to the output of the same transaction (witness transaction) which commits to the message defining the seals.
Variants§
Wout(Vout)
A seal definition pointing to an output of a not-yet-existing witness transaction closing some other seals, which will contain a commitment to this seal definition (witness transaction).
Extern(Outpoint)
A seal definition pointing to an output of an already existing transaction.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WOutpoint
impl<'de> Deserialize<'de> for WOutpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for WOutpoint
impl Ord for WOutpoint
Source§impl PartialOrd for WOutpoint
impl PartialOrd for WOutpoint
Source§impl StrictDecode for WOutpoint
impl StrictDecode for WOutpoint
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for WOutpoint
impl StrictDumb for WOutpoint
fn strict_dumb() -> Self
Source§impl StrictEncode for WOutpoint
impl StrictEncode for WOutpoint
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictSum for WOutpoint
impl StrictSum for WOutpoint
const ALL_VARIANTS: &'static [(u8, &'static str)]
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<VariantName>
fn variant_ord(&self) -> u8
Source§impl StrictType for WOutpoint
impl StrictType for WOutpoint
const STRICT_LIB_NAME: &'static str = dbc::LIB_NAME_BPCORE
fn strict_name() -> Option<TypeName>
Source§impl StrictUnion for WOutpoint
impl StrictUnion for WOutpoint
fn strict_type_info() -> TypeInfo<Self>
impl Copy for WOutpoint
impl Eq for WOutpoint
impl StructuralPartialEq for WOutpoint
Auto Trait Implementations§
impl Freeze for WOutpoint
impl RefUnwindSafe for WOutpoint
impl Send for WOutpoint
impl Sync for WOutpoint
impl Unpin for WOutpoint
impl UnwindSafe for WOutpoint
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.