pub struct StxoClaimInput {
pub taproot_proof: TaprootProof,
pub asset: Asset,
pub proof_version: u32,
pub expected_taproot_output_key: [u8; 32],
pub inclusion: bool,
}Expand description
Input for the STXO claim.
Fields§
§taproot_proof: TaprootProofThe Taproot proof containing STXO proofs.
asset: AssetAsset that contains the prev witness set used to derive STXO keys.
proof_version: u32Proof version of the enclosing proof.
expected_taproot_output_key: [u8; 32]The expected Taproot output key.
inclusion: boolWhether the STXO proofs are inclusion proofs (true) or exclusion proofs (false).
Trait Implementations§
Source§impl Clone for StxoClaimInput
impl Clone for StxoClaimInput
Source§fn clone(&self) -> StxoClaimInput
fn clone(&self) -> StxoClaimInput
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 StxoClaimInput
impl Debug for StxoClaimInput
Source§impl<'de> Deserialize<'de> for StxoClaimInput
impl<'de> Deserialize<'de> for StxoClaimInput
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 StxoClaimInput
Source§impl PartialEq for StxoClaimInput
impl PartialEq for StxoClaimInput
Source§fn eq(&self, other: &StxoClaimInput) -> bool
fn eq(&self, other: &StxoClaimInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StxoClaimInput
impl Serialize for StxoClaimInput
impl StructuralPartialEq for StxoClaimInput
Auto Trait Implementations§
impl Freeze for StxoClaimInput
impl RefUnwindSafe for StxoClaimInput
impl Send for StxoClaimInput
impl Sync for StxoClaimInput
impl Unpin for StxoClaimInput
impl UnsafeUnpin for StxoClaimInput
impl UnwindSafe for StxoClaimInput
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