fn pack_response_from_attributes(attributes: Attributes) -> StdResult<Binary> {
    let names = attributes
        .attributes
        .iter()
        .map(deserialize_name_from_attribute)
        .collect();
    to_binary(&NameResponse::new(attributes.address.into_string(), names))
}
/// Creates a NameResponse from an Attribute module response. Isolated for unit testing.
Creates a NameResponse from an Attribute module response. Isolated for unit testing.
Creates a NameResponse from an Attribute module response . Isolated for unit testing .
fn pack_response_from_attributes(attributes: Attributes) -> StdResult<Binary> {
    let names = attributes
        .attributes
        .iter()
        .map(deserialize_name_from_attribute)
        .collect();
    to_binary(&NameResponse::new(attributes.address.into_string(), names))
}
fn pack_response_from_attributes ( attributes : Attributes ) -> StdResult < Binary > { let names = attributes . attributes . iter ( ) . map ( deserialize_name_from_attribute ) . collect ( ) ; to_binary ( & NameResponse :: new ( attributes . address . into_string ( ) , names ) ) }
Creates a NameResponse from an Attribute module response.
Creates a NameResponse from an Attribute module response .
attributes
Attributes