/// Returns the Event Filter that some events (like CapabilityReady and CapabilityRequested)
/// have.
Returns the Event Filter that some events (like CapabilityReady and CapabilityRequested)
have.
Returns the Event Filter that some events ( like CapabilityReady and CapabilityRequested ) have .
fn filter(&self) -> Option<HashMap<String, cm_rust::DictionaryValue>> {
        match self {
            Event::CapabilityRequested(name) | Event::CapabilityReady(name) => Some(
                hashmap!("name".to_string() => cm_rust::DictionaryValue::Str(name.to_string())),
            ),
            _ => None,
        }
    }
fn filter ( & self ) -> Option < HashMap < String , cm_rust :: DictionaryValue > > { match self { Event :: CapabilityRequested ( name ) | Event :: CapabilityReady ( name ) => Some ( hashmap ! ( " " to_string ( ) cm_rust DictionaryValue Str ( name to_string ( ) ) ) , ) , _ => None , } }
Returns the Event Filter that some events (like CapabilityReady and CapabilityRequested)
have.
Returns the Event Filter that some events ( like CapabilityReady and CapabilityRequested ) have .
&self