pub struct SettleOffer {
pub channel_id: [u8; 32],
pub counter_payout: Amount,
pub next_per_update_point: PublicKey,
}
Expand description
Message used to offer a settlement of the channel by on of the parties.
Fields§
§channel_id: [u8; 32]
The id of the channel referred to by the message.
counter_payout: Amount
The payout offered to the receiving party.
next_per_update_point: PublicKey
The per update point to be used by the sending party to setup the next channel state.
Trait Implementations§
Source§impl Clone for SettleOffer
impl Clone for SettleOffer
Source§fn clone(&self) -> SettleOffer
fn clone(&self) -> SettleOffer
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 SettleOffer
impl Debug for SettleOffer
Source§impl PartialEq for SettleOffer
impl PartialEq for SettleOffer
Source§impl Readable for SettleOffer
impl Readable for SettleOffer
Source§impl Type for SettleOffer
impl Type for SettleOffer
Source§impl Writeable for SettleOffer
impl Writeable for SettleOffer
impl Eq for SettleOffer
impl StructuralPartialEq for SettleOffer
Auto Trait Implementations§
impl Freeze for SettleOffer
impl RefUnwindSafe for SettleOffer
impl Send for SettleOffer
impl Sync for SettleOffer
impl Unpin for SettleOffer
impl UnwindSafe for SettleOffer
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