pub struct GetMempoolResponse {
pub total_cost: u64,
pub total_fees: Amount,
pub items: Vec<MempoolItem>,
}Expand description
Response for GetMempoolRequest.
Fields§
§total_cost: u64Sum of CLVM cost across all items.
total_fees: AmountSum of fees across all items.
items: Vec<MempoolItem>Summary entries, in eviction-priority order.
Trait Implementations§
Source§impl Clone for GetMempoolResponse
impl Clone for GetMempoolResponse
Source§fn clone(&self) -> GetMempoolResponse
fn clone(&self) -> GetMempoolResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 GetMempoolResponse
impl Debug for GetMempoolResponse
Source§impl<'de> Deserialize<'de> for GetMempoolResponse
impl<'de> Deserialize<'de> for GetMempoolResponse
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 GetMempoolResponse
impl RefUnwindSafe for GetMempoolResponse
impl Send for GetMempoolResponse
impl Sync for GetMempoolResponse
impl Unpin for GetMempoolResponse
impl UnsafeUnpin for GetMempoolResponse
impl UnwindSafe for GetMempoolResponse
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