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