Struct ckb_jsonrpc_types::AncestorsScoreSortKey
source · pub struct AncestorsScoreSortKey {
pub fee: Uint64,
pub weight: Uint64,
pub ancestors_fee: Uint64,
pub ancestors_weight: Uint64,
}
Expand description
A struct as a sorted key for tx-pool
Fields§
§fee: Uint64
Fee
weight: Uint64
Weight
ancestors_fee: Uint64
Ancestors fee
ancestors_weight: Uint64
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<'de> Deserialize<'de> for AncestorsScoreSortKey
impl<'de> Deserialize<'de> for AncestorsScoreSortKey
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<AncestorsScoreSortKey> for AncestorsScoreSortKey
impl From<AncestorsScoreSortKey> for AncestorsScoreSortKey
source§fn from(value: CoreAncestorsScoreSortKey) -> Self
fn from(value: CoreAncestorsScoreSortKey) -> Self
Converts to this type from the input type.
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 ==
.source§impl Serialize for AncestorsScoreSortKey
impl Serialize for AncestorsScoreSortKey
impl Eq 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