pub fn validate_integration(
name: &str,
integration: &Integration,
active_host: Option<&str>,
known_substrates: &[&str],
) -> Result<(), IntegrationError>pub fn validate_integration(
name: &str,
integration: &Integration,
active_host: Option<&str>,
known_substrates: &[&str],
) -> Result<(), IntegrationError>