pub struct CanSign {
pub ecdsa: bool,
pub taproot: TaprootCanSign,
}Expand description
Signatures which a key can produce
Defaults to ecdsa=true and taproot=TaprootCanSign::default()
Fields§
§ecdsa: boolWhether the key can produce ECDSA signatures
taproot: TaprootCanSignWhether the key can produce taproot (Schnorr) signatures
Trait Implementations§
Source§impl Ord for CanSign
impl Ord for CanSign
Source§impl PartialOrd for CanSign
impl PartialOrd for CanSign
impl Eq for CanSign
impl StructuralPartialEq for CanSign
Auto Trait Implementations§
impl Freeze for CanSign
impl RefUnwindSafe for CanSign
impl Send for CanSign
impl Sync for CanSign
impl Unpin for CanSign
impl UnwindSafe for CanSign
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