pub struct TaprootClaimInput {
pub taproot_proof: TaprootProof,
pub asset: Asset,
pub expected_taproot_output_key: [u8; 32],
pub inclusion: bool,
}Expand description
Input for the Taproot commitment claim.
Fields§
§taproot_proof: TaprootProofThe Taproot proof to verify.
asset: AssetThe asset being proven.
expected_taproot_output_key: [u8; 32]The expected Taproot output key, derived from the anchor claim.
inclusion: boolWhether this is an inclusion proof.
Trait Implementations§
Source§impl Clone for TaprootClaimInput
impl Clone for TaprootClaimInput
Source§fn clone(&self) -> TaprootClaimInput
fn clone(&self) -> TaprootClaimInput
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 moreSource§impl Debug for TaprootClaimInput
impl Debug for TaprootClaimInput
Source§impl<'de> Deserialize<'de> for TaprootClaimInput
impl<'de> Deserialize<'de> for TaprootClaimInput
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
impl Eq for TaprootClaimInput
Source§impl PartialEq for TaprootClaimInput
impl PartialEq for TaprootClaimInput
Source§fn eq(&self, other: &TaprootClaimInput) -> bool
fn eq(&self, other: &TaprootClaimInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TaprootClaimInput
impl Serialize for TaprootClaimInput
impl StructuralPartialEq for TaprootClaimInput
Auto Trait Implementations§
impl Freeze for TaprootClaimInput
impl RefUnwindSafe for TaprootClaimInput
impl Send for TaprootClaimInput
impl Sync for TaprootClaimInput
impl Unpin for TaprootClaimInput
impl UnsafeUnpin for TaprootClaimInput
impl UnwindSafe for TaprootClaimInput
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