Struct portus::Report [−][src]
pub struct Report { pub program_uid: u32, // some fields omitted }
Contains the values of the pre-defined Report struct from the fold function.
Use get_field
to query its values using the names defined in the fold function.
Fields
program_uid: u32
Methods
impl Report
[src]
impl Report
pub fn get_field(&self, field: &str, sc: &Scope) -> Result<u64>
[src]
pub fn get_field(&self, field: &str, sc: &Scope) -> Result<u64>
Uses the Scope
returned by lang::compile
(or install
) to query
the Report
for its values.