pub struct SignEvmTransactionBody {
pub transaction: String,
}
Expand description
SignEvmTransactionBody
JSON schema
{
"type": "object",
"required": [
"transaction"
],
"properties": {
"transaction": {
"description": "The RLP-encoded transaction to sign, as a 0x-prefixed hex string.",
"examples": [
"0xf86b098505d21dba00830334509431415daf58e2c6b7323b4c58712fd92952145da79018080"
],
"type": "string"
}
}
}
Fields§
§transaction: String
The RLP-encoded transaction to sign, as a 0x-prefixed hex string.
Implementations§
Source§impl SignEvmTransactionBody
impl SignEvmTransactionBody
pub fn builder() -> SignEvmTransactionBody
Trait Implementations§
Source§impl Clone for SignEvmTransactionBody
impl Clone for SignEvmTransactionBody
Source§fn clone(&self) -> SignEvmTransactionBody
fn clone(&self) -> SignEvmTransactionBody
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 moreSource§impl Debug for SignEvmTransactionBody
impl Debug for SignEvmTransactionBody
Source§impl<'de> Deserialize<'de> for SignEvmTransactionBody
impl<'de> Deserialize<'de> for SignEvmTransactionBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SignEvmTransactionBody> for SignEvmTransactionBody
impl From<&SignEvmTransactionBody> for SignEvmTransactionBody
Source§fn from(value: &SignEvmTransactionBody) -> Self
fn from(value: &SignEvmTransactionBody) -> Self
Converts to this type from the input type.
Source§impl From<SignEvmTransactionBody> for SignEvmTransactionBody
impl From<SignEvmTransactionBody> for SignEvmTransactionBody
Source§fn from(value: SignEvmTransactionBody) -> Self
fn from(value: SignEvmTransactionBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for SignEvmTransactionBody
impl Serialize for SignEvmTransactionBody
Source§impl TryFrom<SignEvmTransactionBody> for SignEvmTransactionBody
impl TryFrom<SignEvmTransactionBody> for SignEvmTransactionBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SignEvmTransactionBody) -> Result<Self, ConversionError>
fn try_from(value: SignEvmTransactionBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEvmTransactionBody
impl RefUnwindSafe for SignEvmTransactionBody
impl Send for SignEvmTransactionBody
impl Sync for SignEvmTransactionBody
impl Unpin for SignEvmTransactionBody
impl UnwindSafe for SignEvmTransactionBody
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