Struct mech_utilities::MiniCore
source · pub struct MiniCore {
pub blocks: Vec<MiniBlock>,
pub unsatisfied_blocks: Vec<MiniBlock>,
pub database: Vec<MiniTable>,
pub required_functions: Vec<u64>,
pub errors: Vec<(MechErrorKind, Vec<BlockId>)>,
pub input: Vec<(TableId, RegisterIndex, RegisterIndex)>,
pub output: Vec<(TableId, RegisterIndex, RegisterIndex)>,
pub defined_tables: Vec<(TableId, RegisterIndex, RegisterIndex)>,
pub dictionary: Vec<(u64, String)>,
}
Fields§
§blocks: Vec<MiniBlock>
§unsatisfied_blocks: Vec<MiniBlock>
§database: Vec<MiniTable>
§required_functions: Vec<u64>
§errors: Vec<(MechErrorKind, Vec<BlockId>)>
§input: Vec<(TableId, RegisterIndex, RegisterIndex)>
§output: Vec<(TableId, RegisterIndex, RegisterIndex)>
§defined_tables: Vec<(TableId, RegisterIndex, RegisterIndex)>
§dictionary: Vec<(u64, String)>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for MiniCore
impl<'de> Deserialize<'de> for MiniCore
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more