pub struct Eip1559Signature {
pub v: u8,
pub r: Uint<256>,
pub s: Uint<256>,
}Expand description
Ethereum signature structure.
Fields§
§v: u8§r: Uint<256>§s: Uint<256>Trait Implementations§
Source§impl Debug for Eip1559Signature
impl Debug for Eip1559Signature
Source§impl Default for Eip1559Signature
impl Default for Eip1559Signature
Source§fn default() -> Eip1559Signature
fn default() -> Eip1559Signature
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Eip1559Signature
impl<'de> Deserialize<'de> for Eip1559Signature
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Eip1559Signature, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Eip1559Signature, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Eip1559Signature
impl Display for Eip1559Signature
Source§impl From<(Signature<Secp256k1>, RecoveryId)> for Eip1559Signature
Convert tuple (Signature, RecoveryId) to Eip1559Signature
impl From<(Signature<Secp256k1>, RecoveryId)> for Eip1559Signature
Convert tuple (Signature, RecoveryId) to Eip1559Signature
Source§fn from(value: (Signature<Secp256k1>, RecoveryId)) -> Eip1559Signature
fn from(value: (Signature<Secp256k1>, RecoveryId)) -> Eip1559Signature
Converts to this type from the input type.
Source§impl FromStr for Eip1559Signature
impl FromStr for Eip1559Signature
Source§impl Serialize for Eip1559Signature
impl Serialize for Eip1559Signature
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Eip1559Signature
impl RefUnwindSafe for Eip1559Signature
impl Send for Eip1559Signature
impl Sync for Eip1559Signature
impl Unpin for Eip1559Signature
impl UnwindSafe for Eip1559Signature
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more