Skip to main content

map_get_str

Function map_get_str 

Source
pub fn map_get_str<'a>(
    value: &'a DagCbor,
    key: &str,
    nsid: &str,
) -> Result<&'a str>
Expand description

Read a required string field, attributing errors to nsid.