pub struct PayOnchainPreflightResponse {
pub high_fees: Option<Amount>,
pub normal_fees: Amount,
pub background_fees: Amount,
}Expand description
The response to a pay_onchain_preflight request.
Fields§
§high_fees: Option<Amount>The fee at "high" priority. None if the wallet cannot afford it.
normal_fees: AmountThe fee at "normal" priority.
background_fees: AmountThe fee at "background" priority.
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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