pub enum EmbeddingType {
OpReturn,
TaprootAnnex,
WitnessEnvelope(ScriptType),
}Expand description
The type of location where data may exist in a transaction
Variants§
OpReturn
An OP_RETURN
TaprootAnnex
A taproot annex
WitnessEnvelope(ScriptType)
An OP_FALSE OP_IF <DATA> OP_ENDIF envelope
Trait Implementations§
Source§impl Clone for EmbeddingType
impl Clone for EmbeddingType
Source§fn clone(&self) -> EmbeddingType
fn clone(&self) -> EmbeddingType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmbeddingType
Source§impl Debug for EmbeddingType
impl Debug for EmbeddingType
Source§impl Display for EmbeddingType
impl Display for EmbeddingType
impl Eq for EmbeddingType
Source§impl Hash for EmbeddingType
impl Hash for EmbeddingType
Source§impl PartialEq for EmbeddingType
impl PartialEq for EmbeddingType
impl StructuralPartialEq for EmbeddingType
Auto Trait Implementations§
impl Freeze for EmbeddingType
impl RefUnwindSafe for EmbeddingType
impl Send for EmbeddingType
impl Sync for EmbeddingType
impl Unpin for EmbeddingType
impl UnsafeUnpin for EmbeddingType
impl UnwindSafe for EmbeddingType
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