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 Freeze for DescriptorSinglePriv
impl RefUnwindSafe for DescriptorSinglePriv
impl Send for DescriptorSinglePriv
impl Sync for DescriptorSinglePriv
impl Unpin for DescriptorSinglePriv
impl UnwindSafe for DescriptorSinglePriv
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