pub struct DisjointContractInfo {
pub total_collateral: Amount,
pub contract_infos: Vec<ContractInfoInner>,
}Expand description
Information for a contract based on a multiple events.
Fields§
§total_collateral: AmountThe total collateral locked in the contract.
contract_infos: Vec<ContractInfoInner>Information about the contract outcomes, payout and oracles.
Trait Implementations§
Source§impl Clone for DisjointContractInfo
impl Clone for DisjointContractInfo
Source§fn clone(&self) -> DisjointContractInfo
fn clone(&self) -> DisjointContractInfo
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 DisjointContractInfo
impl Debug for DisjointContractInfo
Source§impl PartialEq for DisjointContractInfo
impl PartialEq for DisjointContractInfo
Source§impl Readable for DisjointContractInfo
impl Readable for DisjointContractInfo
Source§impl Writeable for DisjointContractInfo
impl Writeable for DisjointContractInfo
impl StructuralPartialEq for DisjointContractInfo
Auto Trait Implementations§
impl Freeze for DisjointContractInfo
impl RefUnwindSafe for DisjointContractInfo
impl Send for DisjointContractInfo
impl Sync for DisjointContractInfo
impl Unpin for DisjointContractInfo
impl UnwindSafe for DisjointContractInfo
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