pub struct PreflightPayOnchainResponse {
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 PreflightPayOnchainResponse
impl<'de> Deserialize<'de> for PreflightPayOnchainResponse
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 PreflightPayOnchainResponse
impl RefUnwindSafe for PreflightPayOnchainResponse
impl Send for PreflightPayOnchainResponse
impl Sync for PreflightPayOnchainResponse
impl Unpin for PreflightPayOnchainResponse
impl UnsafeUnpin for PreflightPayOnchainResponse
impl UnwindSafe for PreflightPayOnchainResponse
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