pub struct SchnorrSignature(pub Signature);Expand description
A wrapper around secp256k1 Schnorr signature with serde and molecule support.
Tuple Fields§
§0: SignatureImplementations§
Methods from Deref<Target = Signature>§
Trait Implementations§
Source§impl Clone for SchnorrSignature
impl Clone for SchnorrSignature
Source§fn clone(&self) -> SchnorrSignature
fn clone(&self) -> SchnorrSignature
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchnorrSignature
impl Debug for SchnorrSignature
Source§impl Deref for SchnorrSignature
impl Deref for SchnorrSignature
Source§impl<'de> Deserialize<'de> for SchnorrSignature
impl<'de> Deserialize<'de> for SchnorrSignature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<LiftedSignature> for SchnorrSignature
impl From<LiftedSignature> for SchnorrSignature
Source§fn from(sig: LiftedSignature) -> Self
fn from(sig: LiftedSignature) -> Self
Converts to this type from the input type.
Source§impl From<SchnorrSignature> for SchnorrSignature
impl From<SchnorrSignature> for SchnorrSignature
Source§fn from(signature: SchnorrSignature) -> SchnorrSignature
fn from(signature: SchnorrSignature) -> SchnorrSignature
Converts to this type from the input type.
Source§impl From<SchnorrSignature> for Signature
impl From<SchnorrSignature> for Signature
Source§fn from(sig: SchnorrSignature) -> Self
fn from(sig: SchnorrSignature) -> Self
Converts to this type from the input type.
Source§impl From<Signature> for SchnorrSignature
impl From<Signature> for SchnorrSignature
Source§impl Hash for SchnorrSignature
impl Hash for SchnorrSignature
Source§impl Ord for SchnorrSignature
impl Ord for SchnorrSignature
Source§fn cmp(&self, other: &SchnorrSignature) -> Ordering
fn cmp(&self, other: &SchnorrSignature) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SchnorrSignature
impl PartialEq for SchnorrSignature
Source§impl PartialOrd for SchnorrSignature
impl PartialOrd for SchnorrSignature
Source§impl Serialize for SchnorrSignature
impl Serialize for SchnorrSignature
Source§impl TryFrom<SchnorrSignature> for SchnorrSignature
impl TryFrom<SchnorrSignature> for SchnorrSignature
impl Eq for SchnorrSignature
impl StructuralPartialEq for SchnorrSignature
Auto Trait Implementations§
impl Freeze for SchnorrSignature
impl RefUnwindSafe for SchnorrSignature
impl Send for SchnorrSignature
impl Sync for SchnorrSignature
impl Unpin for SchnorrSignature
impl UnsafeUnpin for SchnorrSignature
impl UnwindSafe for SchnorrSignature
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