pub struct EstimatedTransactionFeeResponse {
pub low: TransactionFee,
pub medium: TransactionFee,
pub high: TransactionFee,
pub fee_details: Option<EstimatedFeeDetails>,
}Fields§
§low: TransactionFee§medium: TransactionFee§high: TransactionFee§fee_details: Option<EstimatedFeeDetails>Implementations§
Source§impl EstimatedTransactionFeeResponse
impl EstimatedTransactionFeeResponse
pub fn new( low: TransactionFee, medium: TransactionFee, high: TransactionFee, ) -> EstimatedTransactionFeeResponse
Trait Implementations§
Source§impl Clone for EstimatedTransactionFeeResponse
impl Clone for EstimatedTransactionFeeResponse
Source§fn clone(&self) -> EstimatedTransactionFeeResponse
fn clone(&self) -> EstimatedTransactionFeeResponse
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 Default for EstimatedTransactionFeeResponse
impl Default for EstimatedTransactionFeeResponse
Source§fn default() -> EstimatedTransactionFeeResponse
fn default() -> EstimatedTransactionFeeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EstimatedTransactionFeeResponse
impl<'de> Deserialize<'de> for EstimatedTransactionFeeResponse
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 EstimatedTransactionFeeResponse
impl PartialEq for EstimatedTransactionFeeResponse
Source§fn eq(&self, other: &EstimatedTransactionFeeResponse) -> bool
fn eq(&self, other: &EstimatedTransactionFeeResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EstimatedTransactionFeeResponse
Auto Trait Implementations§
impl Freeze for EstimatedTransactionFeeResponse
impl RefUnwindSafe for EstimatedTransactionFeeResponse
impl Send for EstimatedTransactionFeeResponse
impl Sync for EstimatedTransactionFeeResponse
impl Unpin for EstimatedTransactionFeeResponse
impl UnwindSafe for EstimatedTransactionFeeResponse
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