pub struct signWithNonceUnsafeReturn {
pub v: u8,
pub r: FixedBytes<32>,
pub s: FixedBytes<32>,
}
Expand description
Signs digest
with privateKey
on the secp256k1 curve, using the given nonce
as the raw ephemeral k value in ECDSA (instead of deriving it deterministically).
Container type for the return parameters of the signWithNonceUnsafe(uint256,bytes32,uint256)
function.
Fields§
§v: u8
§r: FixedBytes<32>
§s: FixedBytes<32>
Implementations§
Source§impl signWithNonceUnsafeReturn
impl signWithNonceUnsafeReturn
fn _tokenize(&self) -> <signWithNonceUnsafeCall as SolCall>::ReturnToken<'_>
Trait Implementations§
Source§impl Clone for signWithNonceUnsafeReturn
impl Clone for signWithNonceUnsafeReturn
Source§fn clone(&self) -> signWithNonceUnsafeReturn
fn clone(&self) -> signWithNonceUnsafeReturn
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 moreAuto Trait Implementations§
impl Freeze for signWithNonceUnsafeReturn
impl RefUnwindSafe for signWithNonceUnsafeReturn
impl Send for signWithNonceUnsafeReturn
impl Sync for signWithNonceUnsafeReturn
impl Unpin for signWithNonceUnsafeReturn
impl UnwindSafe for signWithNonceUnsafeReturn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 65 bytes