pub struct TransactionWithSignatureSerializePart {
pub unsigned: Transaction,
pub v: u8,
pub r: U256,
pub s: U256,
}
Expand description
Signed transaction information without verified signature.
Fields§
§unsigned: Transaction
Plain Transaction.
v: u8
The V field of the signature; helps describe which half of the curve our point falls in.
r: U256
The R field of the signature; helps describe the point on the curve.
s: U256
The S field of the signature; helps describe the point on the curve.
Methods from Deref<Target = Transaction>§
pub fn gas(&self) -> &U256
pub fn gas_price(&self) -> &U256
pub fn max_priority_gas_price(&self) -> &U256
pub fn data(&self) -> &Bytes
pub fn nonce(&self) -> &U256
pub fn action(&self) -> &Action
pub fn value(&self) -> &U256
pub fn chain_id(&self) -> Option<u32>
pub fn storage_limit(&self) -> Option<u64>
pub fn nonce_mut(&mut self) -> &mut U256
pub fn type_id(&self) -> u8
pub fn is_legacy(&self) -> bool
pub fn is_2718(&self) -> bool
pub fn after_1559(&self) -> bool
pub fn access_list(&self) -> Option<&AccessList>
pub fn priority_gas_price(&self, base_price: &U256) -> U256
pub fn effective_gas_price(&self, base_price: &U256) -> U256
pub fn signature_hash(&self) -> H256
pub fn space(&self) -> Space
Trait Implementations§
source§impl Clone for TransactionWithSignatureSerializePart
impl Clone for TransactionWithSignatureSerializePart
source§fn clone(&self) -> TransactionWithSignatureSerializePart
fn clone(&self) -> TransactionWithSignatureSerializePart
Returns a copy 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 Decodable for TransactionWithSignatureSerializePart
impl Decodable for TransactionWithSignatureSerializePart
source§impl<'de> Deserialize<'de> for TransactionWithSignatureSerializePart
impl<'de> Deserialize<'de> for TransactionWithSignatureSerializePart
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 Encodable for TransactionWithSignatureSerializePart
impl Encodable for TransactionWithSignatureSerializePart
source§impl PartialEq for TransactionWithSignatureSerializePart
impl PartialEq for TransactionWithSignatureSerializePart
source§fn eq(&self, other: &TransactionWithSignatureSerializePart) -> bool
fn eq(&self, other: &TransactionWithSignatureSerializePart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TransactionWithSignatureSerializePart
impl StructuralPartialEq for TransactionWithSignatureSerializePart
Auto Trait Implementations§
impl RefUnwindSafe for TransactionWithSignatureSerializePart
impl Send for TransactionWithSignatureSerializePart
impl Sync for TransactionWithSignatureSerializePart
impl Unpin for TransactionWithSignatureSerializePart
impl UnwindSafe for TransactionWithSignatureSerializePart
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