Struct starknet_crypto::Signature
source · pub struct Signature {
pub r: FieldElement,
pub s: FieldElement,
}
Expand description
Stark ECDSA signature
Fields§
§r: FieldElement
The r
value of a signature
s: FieldElement
The s
value of a signature
Trait Implementations§
source§impl From<ExtendedSignature> for Signature
impl From<ExtendedSignature> for Signature
source§fn from(value: ExtendedSignature) -> Self
fn from(value: ExtendedSignature) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Signature
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