pub struct MinFinalCltvExpiryDelta(pub u64);
Expand description
min_final_cltv_expiry_delta
to use for the last HTLC in the route
Tuple Fields§
§0: u64
Trait Implementations§
source§impl Base32Len for MinFinalCltvExpiryDelta
impl Base32Len for MinFinalCltvExpiryDelta
source§fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
source§impl Clone for MinFinalCltvExpiryDelta
impl Clone for MinFinalCltvExpiryDelta
source§fn clone(&self) -> MinFinalCltvExpiryDelta
fn clone(&self) -> MinFinalCltvExpiryDelta
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 MinFinalCltvExpiryDelta
impl Debug for MinFinalCltvExpiryDelta
source§impl FromBase32 for MinFinalCltvExpiryDelta
impl FromBase32 for MinFinalCltvExpiryDelta
source§type Err = Bolt11ParseError
type Err = Bolt11ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
source§fn from_base32(
field_data: &[u5],
) -> Result<MinFinalCltvExpiryDelta, Bolt11ParseError>
fn from_base32( field_data: &[u5], ) -> Result<MinFinalCltvExpiryDelta, Bolt11ParseError>
Convert a base32 slice to
Self
.source§impl Hash for MinFinalCltvExpiryDelta
impl Hash for MinFinalCltvExpiryDelta
source§impl Ord for MinFinalCltvExpiryDelta
impl Ord for MinFinalCltvExpiryDelta
source§fn cmp(&self, other: &MinFinalCltvExpiryDelta) -> Ordering
fn cmp(&self, other: &MinFinalCltvExpiryDelta) -> 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 for MinFinalCltvExpiryDelta
impl PartialEq for MinFinalCltvExpiryDelta
source§impl PartialOrd for MinFinalCltvExpiryDelta
impl PartialOrd for MinFinalCltvExpiryDelta
source§impl ToBase32 for MinFinalCltvExpiryDelta
impl ToBase32 for MinFinalCltvExpiryDelta
source§fn write_base32<W: WriteBase32>(
&self,
writer: &mut W,
) -> Result<(), <W as WriteBase32>::Err>
fn write_base32<W: WriteBase32>( &self, writer: &mut W, ) -> Result<(), <W as WriteBase32>::Err>
Encode as base32 and write it to the supplied writer
Implementations shouldn’t allocate.
impl Eq for MinFinalCltvExpiryDelta
impl StructuralPartialEq for MinFinalCltvExpiryDelta
Auto Trait Implementations§
impl Freeze for MinFinalCltvExpiryDelta
impl RefUnwindSafe for MinFinalCltvExpiryDelta
impl Send for MinFinalCltvExpiryDelta
impl Sync for MinFinalCltvExpiryDelta
impl Unpin for MinFinalCltvExpiryDelta
impl UnwindSafe for MinFinalCltvExpiryDelta
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)