Expand description
Fees for routing via a given channel or a node
Fields
base_msat: u32
Flat routing fee in satoshis
proportional_millionths: u32
Liquidity-based routing fee in millionths of a routed amount. In other words, 10000 is 1%.
Trait Implementations
sourceimpl Clone for RoutingFees
impl Clone for RoutingFees
sourcefn clone(&self) -> RoutingFees
fn clone(&self) -> RoutingFees
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RoutingFees
impl Debug for RoutingFees
sourceimpl Hash for RoutingFees
impl Hash for RoutingFees
sourceimpl PartialEq<RoutingFees> for RoutingFees
impl PartialEq<RoutingFees> for RoutingFees
sourcefn eq(&self, other: &RoutingFees) -> bool
fn eq(&self, other: &RoutingFees) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RoutingFees) -> bool
fn ne(&self, other: &RoutingFees) -> bool
This method tests for !=
.
sourceimpl Readable for RoutingFees
impl Readable for RoutingFees
sourceimpl Writeable for RoutingFees
impl Writeable for RoutingFees
sourcefn write<W: Writer>(&self, writer: &mut W) -> Result<(), Error>
fn write<W: Writer>(&self, writer: &mut W) -> Result<(), Error>
Writes self out to the given Writer
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
impl Copy for RoutingFees
impl Eq for RoutingFees
impl StructuralEq for RoutingFees
impl StructuralPartialEq for RoutingFees
Auto Trait Implementations
impl RefUnwindSafe for RoutingFees
impl Send for RoutingFees
impl Sync for RoutingFees
impl Unpin for RoutingFees
impl UnwindSafe for RoutingFees
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more