pub struct PayOnchainPreflightResponse {
pub high: Option<FeeEstimate>,
pub normal: FeeEstimate,
pub background: FeeEstimate,
}Fields§
§high: Option<FeeEstimate>Corresponds with ConfirmationPriority::High
The high estimate is optional–we don’t want to block the user from sending if they only have enough for a normal tx fee.
normal: FeeEstimateCorresponds with ConfirmationPriority::Normal
background: FeeEstimateCorresponds with ConfirmationPriority::Background
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PayOnchainPreflightResponse
impl<'de> Deserialize<'de> for PayOnchainPreflightResponse
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
Auto Trait Implementations§
impl Freeze for PayOnchainPreflightResponse
impl RefUnwindSafe for PayOnchainPreflightResponse
impl Send for PayOnchainPreflightResponse
impl Sync for PayOnchainPreflightResponse
impl Unpin for PayOnchainPreflightResponse
impl UnsafeUnpin for PayOnchainPreflightResponse
impl UnwindSafe for PayOnchainPreflightResponse
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