pub fn find_bindings(
        &self,
        binding_name: &str,
        provider_id: &str,
    ) -> Vec<(String, HashMap<String, String>)> {
        let mut res = Vec::new();
        for (key, val) in &self.binding_config {
            if key.binding_name == binding_name && val.provider_id == provider_id {
                res.push((key.actor.to_string(), val.values.clone()));
            }
        }
        res
    }
/// Retrieves the list of all actor bindings that pertain to a specific capability provider. Does not return an error,
/// will return an empty vector if no bindings are found. Each item in the returned vector is a tuple consisting of the
/// actor's public key and the config values hash map.
Retrieves the list of all actor bindings that pertain to a specific capability provider. Does not return an error,
will return an empty vector if no bindings are found. Each item in the returned vector is a tuple consisting of the
actor's public key and the config values hash map.
Retrieves the list of all actor bindings that pertain to a specific capability provider . Does not return an error will return an empty vector if no bindings are found . Each item in the returned vector is a tuple consisting of the actor ' s public key and the config values hash map .
pub fn find_bindings(
        &self,
        binding_name: &str,
        provider_id: &str,
    ) -> Vec<(String, HashMap<String, String>)> {
        let mut res = Vec::new();
        for (key, val) in &self.binding_config {
            if key.binding_name == binding_name && val.provider_id == provider_id {
                res.push((key.actor.to_string(), val.values.clone()));
            }
        }
        res
    }
pub fn find_bindings ( & self , binding_name : & str , provider_id : & str , ) -> Vec < ( String , HashMap < String , String > ) > { let mut res = Vec :: new ( ) ; for ( key , val ) in & self . binding_config { if key . binding_name == binding_name && val . provider_id == provider_id { res . push ( ( key . actor . to_string ( ) , val . values . clone ( ) ) ) ; } } res }
Retrieves the list of all actor bindings that pertain to a specific capability provider.
Retrieves the list of all actor bindings that pertain to a specific capability provider .
&self
binding_name
&str
provider_id
&str
&self
binding_name
&str
provider_id
&str