Skip to main content

profile_str

Function profile_str 

Source
pub(super) fn profile_str<'a>(
    resp: &'a Response,
    field: &str,
) -> Option<&'a str>
Expand description

Pull a string field out of a federation profile-info response. The body shape switched from explicit fields to a flat BTreeMap<String, JsonValue> once extended profile fields stabilised.