Struct lightning_invoice::MinFinalCltvExpiry
source · [−]pub struct MinFinalCltvExpiry(pub u64);
Expand description
min_final_cltv_expiry
to use for the last HTLC in the route
Tuple Fields
0: u64
Trait Implementations
sourceimpl Base32Len for MinFinalCltvExpiry
impl Base32Len for MinFinalCltvExpiry
sourcefn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
sourceimpl Clone for MinFinalCltvExpiry
impl Clone for MinFinalCltvExpiry
sourcefn clone(&self) -> MinFinalCltvExpiry
fn clone(&self) -> MinFinalCltvExpiry
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MinFinalCltvExpiry
impl Debug for MinFinalCltvExpiry
sourceimpl FromBase32 for MinFinalCltvExpiry
impl FromBase32 for MinFinalCltvExpiry
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
sourcefn from_base32(field_data: &[u5]) -> Result<MinFinalCltvExpiry, ParseError>
fn from_base32(field_data: &[u5]) -> Result<MinFinalCltvExpiry, ParseError>
Convert a base32 slice to
Self
.sourceimpl Hash for MinFinalCltvExpiry
impl Hash for MinFinalCltvExpiry
sourceimpl PartialEq<MinFinalCltvExpiry> for MinFinalCltvExpiry
impl PartialEq<MinFinalCltvExpiry> for MinFinalCltvExpiry
sourcefn eq(&self, other: &MinFinalCltvExpiry) -> bool
fn eq(&self, other: &MinFinalCltvExpiry) -> bool
sourceimpl ToBase32 for MinFinalCltvExpiry
impl ToBase32 for MinFinalCltvExpiry
sourcefn 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. Read more
impl Eq for MinFinalCltvExpiry
impl StructuralEq for MinFinalCltvExpiry
impl StructuralPartialEq for MinFinalCltvExpiry
Auto Trait Implementations
impl RefUnwindSafe for MinFinalCltvExpiry
impl Send for MinFinalCltvExpiry
impl Sync for MinFinalCltvExpiry
impl Unpin for MinFinalCltvExpiry
impl UnwindSafe for MinFinalCltvExpiry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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