pub enum TransactionRequestPriorityFee {
String(String),
Number(f64),
}
Expand description
TransactionRequestPriorityFee : For Ethereum-based blockchains only, the fee for EIP-1559 transaction pricing mechanism. Value is in Gwei. Fireblocks recommends using a numeric string for accurate precision. Although a number input exists, it is deprecated. For Ethereum-based blockchains only, the fee for EIP-1559 transaction pricing mechanism. Value is in Gwei. Fireblocks recommends using a numeric string for accurate precision. Although a number input exists, it is deprecated.
Variants§
Trait Implementations§
Source§impl Clone for TransactionRequestPriorityFee
impl Clone for TransactionRequestPriorityFee
Source§fn clone(&self) -> TransactionRequestPriorityFee
fn clone(&self) -> TransactionRequestPriorityFee
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<'de> Deserialize<'de> for TransactionRequestPriorityFee
impl<'de> Deserialize<'de> for TransactionRequestPriorityFee
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 PartialEq for TransactionRequestPriorityFee
impl PartialEq for TransactionRequestPriorityFee
Source§fn eq(&self, other: &TransactionRequestPriorityFee) -> bool
fn eq(&self, other: &TransactionRequestPriorityFee) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TransactionRequestPriorityFee
Auto Trait Implementations§
impl Freeze for TransactionRequestPriorityFee
impl RefUnwindSafe for TransactionRequestPriorityFee
impl Send for TransactionRequestPriorityFee
impl Sync for TransactionRequestPriorityFee
impl Unpin for TransactionRequestPriorityFee
impl UnwindSafe for TransactionRequestPriorityFee
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