pub struct FeeEstimateResponse {
pub gross_amount: Amount,
pub fee: Amount,
pub net_amount: Amount,
pub vtxos_spent: Vec<VtxoId>,
}Expand description
A fee estimate for an Ark wallet operation.
Fields§
§gross_amount: AmountThe total amount including fees (in satoshis)
fee: AmountThe fee portion (in satoshis)
net_amount: AmountThe amount excluding fees (in satoshis). For sends, this is the amount the recipient receives. For receives, this is the amount the user gets.
vtxos_spent: Vec<VtxoId>The VTXOs that would be spent for this operation
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeeEstimateResponse
impl<'de> Deserialize<'de> for FeeEstimateResponse
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 From<FeeEstimate> for FeeEstimateResponse
impl From<FeeEstimate> for FeeEstimateResponse
Source§fn from(estimate: FeeEstimate) -> Self
fn from(estimate: FeeEstimate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FeeEstimateResponse
impl RefUnwindSafe for FeeEstimateResponse
impl Send for FeeEstimateResponse
impl Sync for FeeEstimateResponse
impl Unpin for FeeEstimateResponse
impl UnsafeUnpin for FeeEstimateResponse
impl UnwindSafe for FeeEstimateResponse
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request