Struct vls_protocol::model::Htlc
source · pub struct Htlc {
pub side: u8,
pub amount: u64,
pub payment_hash: Sha256,
pub ctlv_expiry: u32,
}
Fields§
§side: u8
§amount: u64
§payment_hash: Sha256
§ctlv_expiry: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Htlc
impl RefUnwindSafe for Htlc
impl Send for Htlc
impl Sync for Htlc
impl Unpin for Htlc
impl UnwindSafe for Htlc
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