pub struct Signature {
pub r: CompressedY,
pub s: Scalar,
}
Expand description
a signature: pair consisting of a curve point “R” in compressed form and a scalar “s”.
Fields§
§r: CompressedY
§s: Scalar
Implementations§
Trait Implementations§
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