pub fn find(&self, kid: &str) -> Option<&JWK<T>> {
        self.keys
            .iter()
            .find(|jwk| jwk.common.key_id.is_some() && jwk.common.key_id.as_ref().unwrap() == kid)
    }
/// Find the key in the set that matches the given key id, if any.
Find the key in the set that matches the given key id, if any.
Find the key in the set that matches the given key id if any .
pub fn find(&self, kid: &str) -> Option<&JWK<T>> {
        self.keys
            .iter()
            .find(|jwk| jwk.common.key_id.is_some() && jwk.common.key_id.as_ref().unwrap() == kid)
    }
pub fn find ( & self , kid : & str ) -> Option < & JWK < T > > { self . keys . iter ( ) . find ( | jwk | jwk . common . key_id . is_some ( ) && jwk . common . key_id . as_ref ( ) . unwrap ( ) == kid ) }
Find the key in the set that matches the given key id, if any.
Find the key in the set that matches the given key id if any .
&self
kid
&str
&self
kid
&str