pub fn validate(&self) -> Result<(), crate::error::Error> {
        for info in &self.contract_info {
            info.validate()?;
        }

        Ok(())
    }
/// Validate that the contract info covers all the possible outcomes that
/// can be attested by the oracle(s).
Validate that the contract info covers all the possible outcomes that
can be attested by the oracle(s).
Validate that the contract info covers all the possible outcomes that can be attested by the oracle ( s ) .
pub fn validate(&self) -> Result<(), crate::error::Error> {
        for info in &self.contract_info {
            info.validate()?;
        }
        Ok(())
    }
pub fn validate ( & self ) -> Result < ( ) , crate :: error :: Error > { for info in & self . contract_info { info . validate ( ) ? ; } Ok ( ( ) ) }
Validate that the contract info covers all the possible outcomes that
can be attested by the oracle(s).
Validate that the contract info covers all the possible outcomes that can be attested by the oracle ( s ) .
&self