Struct ckb_jsonrpc_types::FeeRateDef
source · pub struct FeeRateDef(/* private fields */);Expand description
Serialize and Deserialize implementations for FeeRate
Implementations§
source§impl FeeRateDef
impl FeeRateDef
source§impl<'de> FeeRateDef
impl<'de> FeeRateDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<FeeRate, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for FeeRateDef
impl Clone for FeeRateDef
source§fn clone(&self) -> FeeRateDef
fn clone(&self) -> FeeRateDef
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 FeeRateDef
impl Debug for FeeRateDef
source§impl Default for FeeRateDef
impl Default for FeeRateDef
source§fn default() -> FeeRateDef
fn default() -> FeeRateDef
Returns the “default value” for a type. Read more
source§impl Ord for FeeRateDef
impl Ord for FeeRateDef
source§fn cmp(&self, other: &FeeRateDef) -> Ordering
fn cmp(&self, other: &FeeRateDef) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FeeRateDef> for FeeRateDef
impl PartialEq<FeeRateDef> for FeeRateDef
source§fn eq(&self, other: &FeeRateDef) -> bool
fn eq(&self, other: &FeeRateDef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<FeeRateDef> for FeeRateDef
impl PartialOrd<FeeRateDef> for FeeRateDef
source§fn partial_cmp(&self, other: &FeeRateDef) -> Option<Ordering>
fn partial_cmp(&self, other: &FeeRateDef) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for FeeRateDef
impl Eq for FeeRateDef
impl StructuralEq for FeeRateDef
impl StructuralPartialEq for FeeRateDef
Auto Trait Implementations§
impl RefUnwindSafe for FeeRateDef
impl Send for FeeRateDef
impl Sync for FeeRateDef
impl Unpin for FeeRateDef
impl UnwindSafe for FeeRateDef
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