[−]Enum bdk::keys::DescriptorPublicKey
pub enum DescriptorPublicKey { SinglePub(DescriptorSinglePub), XPub(DescriptorXKey<ExtendedPubKey>), }
The MiniscriptKey corresponding to Descriptors. This can either be Single public key or a Xpub
Variants
SinglePub(DescriptorSinglePub)
Single Public Key
Xpub
Implementations
impl DescriptorPublicKey
[−]
pub fn derive(self, child_number: ChildNumber) -> DescriptorPublicKey
[−]
Derives the specified child key if self is a wildcard xpub. Otherwise returns self.
Panics if given a hardened child number
Trait Implementations
impl Clone for DescriptorPublicKey
[+]
impl Debug for DescriptorPublicKey
[+]
impl Display for DescriptorPublicKey
[+]
impl Eq for DescriptorPublicKey
impl FromStr for DescriptorPublicKey
[+]
impl Hash for DescriptorPublicKey
[+]
impl MiniscriptKey for DescriptorPublicKey
[+]
impl Ord for DescriptorPublicKey
[+]
impl PartialEq<DescriptorPublicKey> for DescriptorPublicKey
[+]
impl PartialOrd<DescriptorPublicKey> for DescriptorPublicKey
[+]
impl StructuralEq for DescriptorPublicKey
impl StructuralPartialEq for DescriptorPublicKey
impl<Ctx: ScriptContext> ToDescriptorKey<Ctx> for DescriptorPublicKey
[src][+]
impl<'secp, C> ToPublicKey<DescriptorPublicKeyCtx<'secp, C>> for DescriptorPublicKey where
C: Verification,
[+]
C: Verification,
Auto Trait Implementations
impl RefUnwindSafe for DescriptorPublicKey
[src]
impl Send for DescriptorPublicKey
[src]
impl Sync for DescriptorPublicKey
[src]
impl Unpin for DescriptorPublicKey
[src]
impl UnwindSafe for DescriptorPublicKey
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pointable for T
[+]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,