[][src]Struct lightning::ln::msgs::UpdateFee

pub struct UpdateFee {
    pub channel_id: [u8; 32],
    pub feerate_per_kw: u32,
}

An update_fee message to be sent or received from a peer

Fields

channel_id: [u8; 32]

The channel ID

feerate_per_kw: u32

Fee rate per 1000-weight of the transaction

Trait Implementations

impl Clone for UpdateFee[src]

impl PartialEq<UpdateFee> for UpdateFee[src]

impl Readable for UpdateFee[src]

impl StructuralPartialEq for UpdateFee[src]

impl Writeable for UpdateFee[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.