pub struct Signature {
pub R_x: Scalar<Public>,
pub s: Scalar<Public>,
}
Expand description
An ECDSA signature
Fields§
§R_x: Scalar<Public>
§s: Scalar<Public>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Signature
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Signature
Available on crate feature
serde
only.source§fn deserialize<Deser: Deserializer<'de>>(
deserializer: Deser
) -> Result<Signature, Deser::Error>
fn deserialize<Deser: Deserializer<'de>>( deserializer: Deser ) -> Result<Signature, Deser::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Signature
impl PartialEq for Signature
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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