pub struct UpdateChannelParams {
pub channel_id: Hash256,
pub enabled: Option<bool>,
pub tlc_expiry_delta: Option<u64>,
pub tlc_minimum_value: Option<u128>,
pub tlc_fee_proportional_millionths: Option<u128>,
}Expand description
Parameters for updating a channel.
Fields§
§channel_id: Hash256The channel ID of the channel to update
enabled: Option<bool>Whether the channel is enabled, default value is true
tlc_expiry_delta: Option<u64>The expiry delta for the TLC locktime
tlc_minimum_value: Option<u128>The minimum value for a TLC
tlc_fee_proportional_millionths: Option<u128>The fee proportional millionths for a TLC
Trait Implementations§
Source§impl Clone for UpdateChannelParams
impl Clone for UpdateChannelParams
Source§fn clone(&self) -> UpdateChannelParams
fn clone(&self) -> UpdateChannelParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateChannelParams
impl Debug for UpdateChannelParams
Source§impl<'de> Deserialize<'de> for UpdateChannelParams
impl<'de> Deserialize<'de> for UpdateChannelParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for UpdateChannelParams
impl JsonSchema for UpdateChannelParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for UpdateChannelParams
impl RefUnwindSafe for UpdateChannelParams
impl Send for UpdateChannelParams
impl Sync for UpdateChannelParams
impl Unpin for UpdateChannelParams
impl UnsafeUnpin for UpdateChannelParams
impl UnwindSafe for UpdateChannelParams
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