pub struct ContractOutcome {
pub outcome: String,
pub offer_payout: Amount,
}Expand description
Represents a single outcome of a DLC contract and the associated offer party payout.
Fields§
§outcome: StringThe outcome represented as a string.
offer_payout: AmountThe payout of the offer party for the outcome.
Trait Implementations§
Source§impl Clone for ContractOutcome
impl Clone for ContractOutcome
Source§fn clone(&self) -> ContractOutcome
fn clone(&self) -> ContractOutcome
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 ContractOutcome
impl Debug for ContractOutcome
Source§impl PartialEq for ContractOutcome
impl PartialEq for ContractOutcome
Source§impl Readable for ContractOutcome
impl Readable for ContractOutcome
Source§impl Writeable for ContractOutcome
impl Writeable for ContractOutcome
impl Eq for ContractOutcome
impl StructuralPartialEq for ContractOutcome
Auto Trait Implementations§
impl Freeze for ContractOutcome
impl RefUnwindSafe for ContractOutcome
impl Send for ContractOutcome
impl Sync for ContractOutcome
impl Unpin for ContractOutcome
impl UnwindSafe for ContractOutcome
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