pub struct VtxoLeafSpec {
pub vtxo: VtxoRequest,
pub cosign_pubkey: Option<PublicKey>,
pub unlock_hash: UnlockHash,
}Fields§
§vtxo: VtxoRequestThe actual VTXO request.
cosign_pubkey: Option<PublicKey>The public key used by the client to cosign the internal txs of the tree
Only interactive participants have a cosign key here.
The client SHOULD forget this key after signing the transaction tree. Non-interactive participants don’t have a cosign pubkey.
unlock_hash: UnlockHashThe unlock hash used to lock the VTXO before forfeits are signed
Trait Implementations§
Source§impl Clone for VtxoLeafSpec
impl Clone for VtxoLeafSpec
Source§fn clone(&self) -> VtxoLeafSpec
fn clone(&self) -> VtxoLeafSpec
Returns a duplicate 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 Debug for VtxoLeafSpec
impl Debug for VtxoLeafSpec
Source§impl Hash for VtxoLeafSpec
impl Hash for VtxoLeafSpec
Source§impl Ord for VtxoLeafSpec
impl Ord for VtxoLeafSpec
Source§fn cmp(&self, other: &VtxoLeafSpec) -> Ordering
fn cmp(&self, other: &VtxoLeafSpec) -> 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 PartialEq for VtxoLeafSpec
impl PartialEq for VtxoLeafSpec
Source§impl PartialOrd for VtxoLeafSpec
impl PartialOrd for VtxoLeafSpec
impl Eq for VtxoLeafSpec
impl StructuralPartialEq for VtxoLeafSpec
Auto Trait Implementations§
impl Freeze for VtxoLeafSpec
impl RefUnwindSafe for VtxoLeafSpec
impl Send for VtxoLeafSpec
impl Sync for VtxoLeafSpec
impl Unpin for VtxoLeafSpec
impl UnwindSafe for VtxoLeafSpec
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§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.