pub struct Payout {
pub offer: Amount,
pub accept: Amount,
}Expand description
Represents the payouts for a unique contract outcome. Offer party represents the initiator of the contract while accept party represents the party accepting the contract.
Fields§
§offer: AmountPayout for the offering party
accept: AmountPayout for the accepting party
Trait Implementations§
impl Eq for Payout
impl StructuralPartialEq for Payout
Auto Trait Implementations§
impl Freeze for Payout
impl RefUnwindSafe for Payout
impl Send for Payout
impl Sync for Payout
impl Unpin for Payout
impl UnwindSafe for Payout
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