pub struct RenewOffer {
pub channel_id: [u8; 32],
pub temporary_contract_id: [u8; 32],
pub counter_payout: Amount,
pub next_per_update_point: PublicKey,
pub contract_info: ContractInfo,
pub cet_locktime: u32,
pub refund_locktime: u32,
pub cet_nsequence: u32,
}
Expand description
Message used to offer to establish a new contract within the channel.
Fields§
§channel_id: [u8; 32]
The id of the channel referred to by the message.
temporary_contract_id: [u8; 32]
The temporary id of the offered contract.
counter_payout: Amount
The proposed payout for the receiving party for the previous channel state.
next_per_update_point: PublicKey
The per update point to be used by the sending party to setup the next channel state.
contract_info: ContractInfo
Information about the offered contract.
cet_locktime: u32
Lock time for the CETs.
refund_locktime: u32
Lock time for the refund transaction.
cet_nsequence: u32
The nSequence value to use for the CETs.
Trait Implementations§
Source§impl Clone for RenewOffer
impl Clone for RenewOffer
Source§fn clone(&self) -> RenewOffer
fn clone(&self) -> RenewOffer
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 RenewOffer
impl Debug for RenewOffer
Source§impl PartialEq for RenewOffer
impl PartialEq for RenewOffer
Source§impl Readable for RenewOffer
impl Readable for RenewOffer
Source§impl Type for RenewOffer
impl Type for RenewOffer
Source§impl Writeable for RenewOffer
impl Writeable for RenewOffer
impl StructuralPartialEq for RenewOffer
Auto Trait Implementations§
impl Freeze for RenewOffer
impl RefUnwindSafe for RenewOffer
impl Send for RenewOffer
impl Sync for RenewOffer
impl Unpin for RenewOffer
impl UnwindSafe for RenewOffer
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