pub struct SignedContract {
pub accepted_contract: AcceptedContract,
pub adaptor_signatures: Option<Vec<EcdsaAdaptorSignature>>,
pub offer_refund_signature: Signature,
pub funding_signatures: FundingSignatures,
pub channel_id: Option<ChannelId>,
}Expand description
Contain information about a contract that was fully signed.
Fields§
§accepted_contract: AcceptedContractThe accepted contract that was signed.
adaptor_signatures: Option<Vec<EcdsaAdaptorSignature>>The adaptor signatures of the offering party (None if offering party).
offer_refund_signature: SignatureThe refund signature of the offering party.
funding_signatures: FundingSignaturesThe signatures for the funding inputs of the offering party.
channel_id: Option<ChannelId>The ChannelId to which the contract was associated if any.
Trait Implementations§
Source§impl Clone for SignedContract
impl Clone for SignedContract
Source§fn clone(&self) -> SignedContract
fn clone(&self) -> SignedContract
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 Readable for SignedContract
impl Readable for SignedContract
Source§impl Writeable for SignedContract
impl Writeable for SignedContract
Auto Trait Implementations§
impl Freeze for SignedContract
impl RefUnwindSafe for SignedContract
impl Send for SignedContract
impl Sync for SignedContract
impl Unpin for SignedContract
impl UnwindSafe for SignedContract
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