pub struct ChannelUpdateBuilder { /* private fields */ }Implementations§
Source§impl ChannelUpdateBuilder
impl ChannelUpdateBuilder
pub const TOTAL_SIZE: usize = 204
pub const FIELD_SIZES: [usize; 10]
pub const FIELD_COUNT: usize = 10
pub fn signature(self, v: EcdsaSignature) -> Self
pub fn chain_hash(self, v: Byte32) -> Self
pub fn channel_outpoint(self, v: OutPoint) -> Self
pub fn timestamp(self, v: Uint64) -> Self
pub fn message_flags(self, v: Uint32) -> Self
pub fn channel_flags(self, v: Uint32) -> Self
pub fn tlc_expiry_delta(self, v: Uint64) -> Self
pub fn tlc_minimum_value(self, v: Uint128) -> Self
pub fn tlc_maximum_value(self, v: Uint128) -> Self
pub fn tlc_fee_proportional_millionths(self, v: Uint128) -> Self
Trait Implementations§
Source§impl Builder for ChannelUpdateBuilder
impl Builder for ChannelUpdateBuilder
Source§impl Clone for ChannelUpdateBuilder
impl Clone for ChannelUpdateBuilder
Source§fn clone(&self) -> ChannelUpdateBuilder
fn clone(&self) -> ChannelUpdateBuilder
Returns a duplicate of the value. Read more
1.0.0 · 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 ChannelUpdateBuilder
impl Debug for ChannelUpdateBuilder
Source§impl Default for ChannelUpdateBuilder
impl Default for ChannelUpdateBuilder
Source§fn default() -> ChannelUpdateBuilder
fn default() -> ChannelUpdateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ChannelUpdateBuilder
impl RefUnwindSafe for ChannelUpdateBuilder
impl Send for ChannelUpdateBuilder
impl Sync for ChannelUpdateBuilder
impl Unpin for ChannelUpdateBuilder
impl UnsafeUnpin for ChannelUpdateBuilder
impl UnwindSafe for ChannelUpdateBuilder
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