fn find_pk_attr(_pks: &Vec<Aw11PublicKey>, _attr: &String) -> Option<(String, Gt, G2)> {
    for _pk in _pks.into_iter() {
        let _pk_attr = _pk
            ._attr
            .clone()
            .into_iter()
            .filter(|_tuple| _tuple.0 == _attr.to_string())
            .nth(0);
        if _pk_attr.is_some() {
            return _pk_attr;
        }
    }
    return None;
}
/// private function. finds the value vector of a specific attribute in a vector of various public keys
///
/// # Arguments
///
///	* `_pks` - A vector of Aw11PublicKeys
///	* `_attr` - An attribute
///
private function. finds the value vector of a specific attribute in a vector of various public keys
private function . finds the value vector of a specific attribute in a vector of various public keys
fn find_pk_attr(_pks: &Vec<Aw11PublicKey>, _attr: &String) -> Option<(String, Gt, G2)> {
    for _pk in _pks.into_iter() {
        let _pk_attr = _pk
            ._attr
            .clone()
            .into_iter()
            .filter(|_tuple| _tuple.0 == _attr.to_string())
            .nth(0);
        if _pk_attr.is_some() {
            return _pk_attr;
        }
    }
    return None;
}
fn find_pk_attr ( _pks : & Vec < Aw11PublicKey > , _attr : & String ) -> Option < ( String , Gt , G2 ) > { for _pk in _pks . into_iter ( ) { let _pk_attr = _pk . _attr . clone ( ) . into_iter ( ) . filter ( | _tuple | _tuple . 0 == _attr . to_string ( ) ) . nth ( 0 ) ; if _pk_attr . is_some ( ) { return _pk_attr ; } } return None ; }
private function.
private function .
_pks
&Vec<Aw11PublicKey>
_attr
&String
_pks
&Vec<Aw11PublicKey>
_attr
&String