pub fn parse_constr<'a>(
    data: &'a PlutusData
) -> Result<(u32, &'a Vec<PlutusData>), PlutusDataError>
Expand description

Given a PlutusData, parse it as PlutusData::Constr and its tag as u32. Return the u32 tag and fields.