Struct miniscript::descriptor::DescriptorSinglePriv
source · [−]pub struct DescriptorSinglePriv {
pub origin: Option<KeySource>,
pub key: PrivateKey,
}
Expand description
A Single Descriptor Secret Key with optional origin information
Fields
origin: Option<KeySource>
Origin information
key: PrivateKey
The key
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DescriptorSinglePriv
impl Send for DescriptorSinglePriv
impl Sync for DescriptorSinglePriv
impl Unpin for DescriptorSinglePriv
impl UnwindSafe for DescriptorSinglePriv
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more