Struct miniscript::plan::CanSign
source · 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: bool
Whether the key can produce ECDSA signatures
taproot: TaprootCanSign
Whether the key can produce taproot (Schnorr) signatures
Trait Implementations§
source§impl Ord for CanSign
impl Ord for CanSign
source§impl PartialEq<CanSign> for CanSign
impl PartialEq<CanSign> for CanSign
source§impl PartialOrd<CanSign> for CanSign
impl PartialOrd<CanSign> for CanSign
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CanSign
impl StructuralEq for CanSign
impl StructuralPartialEq for CanSign
Auto Trait Implementations§
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