Struct ckb_types::core::tx_pool::AncestorsScoreSortKey
source · pub struct AncestorsScoreSortKey {
pub fee: Capacity,
pub weight: u64,
pub ancestors_fee: Capacity,
pub ancestors_weight: u64,
}
Expand description
A struct as a sorted key in tx-pool
Fields§
§fee: Capacity
fee
weight: u64
weight
ancestors_fee: Capacity
ancestors_fee
ancestors_weight: u64
ancestors_weight
Trait Implementations§
source§impl Clone for AncestorsScoreSortKey
impl Clone for AncestorsScoreSortKey
source§fn clone(&self) -> AncestorsScoreSortKey
fn clone(&self) -> AncestorsScoreSortKey
Returns a copy 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 AncestorsScoreSortKey
impl Debug for AncestorsScoreSortKey
source§impl Default for AncestorsScoreSortKey
impl Default for AncestorsScoreSortKey
source§fn default() -> AncestorsScoreSortKey
fn default() -> AncestorsScoreSortKey
Returns the “default value” for a type. Read more
source§impl PartialEq for AncestorsScoreSortKey
impl PartialEq for AncestorsScoreSortKey
source§fn eq(&self, other: &AncestorsScoreSortKey) -> bool
fn eq(&self, other: &AncestorsScoreSortKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AncestorsScoreSortKey
impl StructuralEq for AncestorsScoreSortKey
impl StructuralPartialEq for AncestorsScoreSortKey
Auto Trait Implementations§
impl RefUnwindSafe for AncestorsScoreSortKey
impl Send for AncestorsScoreSortKey
impl Sync for AncestorsScoreSortKey
impl Unpin for AncestorsScoreSortKey
impl UnwindSafe for AncestorsScoreSortKey
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