pub struct TrSortedMulti<K>where
K: DeriveXOnly,{
pub internal_key: K,
pub threshold: u16,
pub script_keys: Confined<Vec<K>, 1, 999>,
}
Fields§
§internal_key: K
§threshold: u16
§script_keys: Confined<Vec<K>, 1, 999>
Trait Implementations§
Source§impl<K> Clone for TrSortedMulti<K>where
K: Clone + DeriveXOnly,
impl<K> Clone for TrSortedMulti<K>where
K: Clone + DeriveXOnly,
Source§fn clone(&self) -> TrSortedMulti<K>
fn clone(&self) -> TrSortedMulti<K>
Returns a copy 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<K> Debug for TrSortedMulti<K>where
K: Debug + DeriveXOnly,
impl<K> Debug for TrSortedMulti<K>where
K: Debug + DeriveXOnly,
Source§impl<K> Derive<DerivedScript> for TrSortedMulti<K>where
K: DeriveXOnly,
impl<K> Derive<DerivedScript> for TrSortedMulti<K>where
K: DeriveXOnly,
fn default_keychain(&self) -> Keychain
fn keychains(&self) -> BTreeSet<Keychain>
fn derive( &self, keychain: impl Into<Keychain>, index: impl Into<NormalIndex>, ) -> impl Iterator<Item = DerivedScript>
fn derive_range( &self, keychain: impl Into<Keychain>, from: impl Into<NormalIndex>, to: impl Into<NormalIndex>, ) -> impl Iterator<Item = D>
Source§impl<K> Descriptor<K> for TrSortedMulti<K>where
K: DeriveXOnly,
impl<K> Descriptor<K> for TrSortedMulti<K>where
K: DeriveXOnly,
fn class(&self) -> SpkClass
fn keys<'a>(&'a self) -> impl Iterator<Item = &'a K>where
K: 'a,
fn vars<'a>(&'a self) -> impl Iterator<Item = &'a ()>where
(): 'a,
fn xpubs(&self) -> impl Iterator<Item = &XpubAccount>
fn legacy_keyset(&self, _terminal: Terminal) -> IndexMap<LegacyPk, KeyOrigin>
fn xonly_keyset(&self, terminal: Terminal) -> IndexMap<XOnlyPk, TapDerivation>
fn legacy_witness( &self, _keysigs: HashMap<&KeyOrigin, LegacyKeySig>, _redeem_script: Option<RedeemScript>, _witness_script: Option<WitnessScript>, ) -> Option<(SigScript, Option<Witness>)>
fn taproot_witness( &self, cb: Option<&ControlBlock>, keysigs: HashMap<&KeyOrigin, TaprootKeySig>, ) -> Option<Witness>
fn is_taproot(&self) -> bool
Source§impl<K> Display for TrSortedMulti<K>where
K: DeriveXOnly + Display,
impl<K> Display for TrSortedMulti<K>where
K: DeriveXOnly + Display,
Source§impl<K> Hash for TrSortedMulti<K>where
K: Hash + DeriveXOnly,
impl<K> Hash for TrSortedMulti<K>where
K: Hash + DeriveXOnly,
Source§impl<K> PartialEq for TrSortedMulti<K>where
K: PartialEq + DeriveXOnly,
impl<K> PartialEq for TrSortedMulti<K>where
K: PartialEq + DeriveXOnly,
impl<K> Eq for TrSortedMulti<K>where
K: Eq + DeriveXOnly,
impl<K> StructuralPartialEq for TrSortedMulti<K>where
K: DeriveXOnly,
Auto Trait Implementations§
impl<K> Freeze for TrSortedMulti<K>where
K: Freeze,
impl<K> RefUnwindSafe for TrSortedMulti<K>where
K: RefUnwindSafe,
impl<K> Send for TrSortedMulti<K>where
K: Send,
impl<K> Sync for TrSortedMulti<K>where
K: Sync,
impl<K> Unpin for TrSortedMulti<K>where
K: Unpin,
impl<K> UnwindSafe for TrSortedMulti<K>where
K: UnwindSafe,
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<T> DeriveScripts for Twhere
T: Derive<DerivedScript>,
impl<T> DeriveScripts for Twhere
T: Derive<DerivedScript>,
Source§fn derive_address(
&self,
network: AddressNetwork,
keychain: impl Into<Keychain>,
index: impl Into<NormalIndex>,
) -> impl Iterator<Item = Address>
fn derive_address( &self, network: AddressNetwork, keychain: impl Into<Keychain>, index: impl Into<NormalIndex>, ) -> impl Iterator<Item = Address>
Derives addresses for a given index. Read more
Source§fn derive_address_range(
&self,
network: AddressNetwork,
keychain: impl Into<Keychain>,
from: impl Into<NormalIndex>,
to: impl Into<NormalIndex>,
) -> impl Iterator<Item = Address>
fn derive_address_range( &self, network: AddressNetwork, keychain: impl Into<Keychain>, from: impl Into<NormalIndex>, to: impl Into<NormalIndex>, ) -> impl Iterator<Item = Address>
Derives addresses for a range of indexes. Read more
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.