pub enum AddressScript {
P2TR(DerivationPath),
Miniscript {
index: u32,
change: bool,
},
}
Variants§
P2TR(DerivationPath)
Must be a bip86 path.
Miniscript
Miniscript requires the policy be loaded into the device.
Trait Implementations§
Source§impl Clone for AddressScript
impl Clone for AddressScript
Source§fn clone(&self) -> AddressScript
fn clone(&self) -> AddressScript
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AddressScript
impl Debug for AddressScript
Source§impl PartialEq for AddressScript
impl PartialEq for AddressScript
impl Eq for AddressScript
impl StructuralPartialEq for AddressScript
Auto Trait Implementations§
impl Freeze for AddressScript
impl RefUnwindSafe for AddressScript
impl Send for AddressScript
impl Sync for AddressScript
impl Unpin for AddressScript
impl UnwindSafe for AddressScript
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> 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.