Struct ChannelConfigUpdate
pub struct ChannelConfigUpdate {
pub forwarding_fee_proportional_millionths: Option<u32>,
pub forwarding_fee_base_msat: Option<u32>,
pub cltv_expiry_delta: Option<u16>,
pub max_dust_htlc_exposure_msat: Option<MaxDustHTLCExposure>,
pub force_close_avoidance_max_fee_satoshis: Option<u64>,
}
Expand description
A parallel struct to ChannelConfig
to define partial updates.
Fields§
§forwarding_fee_proportional_millionths: Option<u32>
§forwarding_fee_base_msat: Option<u32>
§cltv_expiry_delta: Option<u16>
§max_dust_htlc_exposure_msat: Option<MaxDustHTLCExposure>
§force_close_avoidance_max_fee_satoshis: Option<u64>
Trait Implementations§
§impl Default for ChannelConfigUpdate
impl Default for ChannelConfigUpdate
§fn default() -> ChannelConfigUpdate
fn default() -> ChannelConfigUpdate
Returns the “default value” for a type. Read more
§impl From<ChannelConfig> for ChannelConfigUpdate
impl From<ChannelConfig> for ChannelConfigUpdate
§fn from(config: ChannelConfig) -> ChannelConfigUpdate
fn from(config: ChannelConfig) -> ChannelConfigUpdate
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChannelConfigUpdate
impl RefUnwindSafe for ChannelConfigUpdate
impl Send for ChannelConfigUpdate
impl Sync for ChannelConfigUpdate
impl Unpin for ChannelConfigUpdate
impl UnwindSafe for ChannelConfigUpdate
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request