pub struct FeeEstimates { /* private fields */ }Implementations§
Source§impl FeeEstimates
impl FeeEstimates
pub fn priority_fee_in_native<T>(self, value: T) -> Self
pub fn tip_fee_in_native<T>(self, value: T) -> Self
pub fn total_fee_in_native<T>(self, value: T) -> Self
pub fn trade_fee_in_native<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for FeeEstimates
impl Clone for FeeEstimates
Source§fn clone(&self) -> FeeEstimates
fn clone(&self) -> FeeEstimates
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FeeEstimates
impl Debug for FeeEstimates
Source§impl Default for FeeEstimates
impl Default for FeeEstimates
Source§impl From<FeeEstimates> for FeeEstimates
impl From<FeeEstimates> for FeeEstimates
Source§fn from(value: FeeEstimates) -> Self
fn from(value: FeeEstimates) -> Self
Converts to this type from the input type.
Source§impl TryFrom<FeeEstimates> for FeeEstimates
impl TryFrom<FeeEstimates> for FeeEstimates
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: FeeEstimates) -> Result<Self, ConversionError>
fn try_from(value: FeeEstimates) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for FeeEstimates
impl RefUnwindSafe for FeeEstimates
impl Send for FeeEstimates
impl Sync for FeeEstimates
impl Unpin for FeeEstimates
impl UnsafeUnpin for FeeEstimates
impl UnwindSafe for FeeEstimates
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