pub fn verify_destination_rules(&self, region: &Region) -> Result<()> {
        if let Some(ref _destinationRules) = &self.destinationRules {
            if let Some(ref destinationRuleHostRegex) = &region.destinationRuleHostRegex {
                for dr in _destinationRules {
                    dr.verify(destinationRuleHostRegex)?;
                }
            } else {
                bail!("Cannot use `destinationRules` in a region without a `destinationRuleHostRegex`")
            }
        }
        Ok(())
    }
/// Verifies the "destinationRules" manifest entries if they are configured
///
/// It is erroneous to define destination rules without configuring the corresponding region's
/// destination rules host regular expression
Verifies the "destinationRules" manifest entries if they are configured
It is erroneous to define destination rules without configuring the corresponding region's
destination rules host regular expression
Verifies the " destinationRules " manifest entries if they are configured It is erroneous to define destination rules without configuring the corresponding region ' s destination rules host regular expression
pub fn verify_destination_rules(&self, region: &Region) -> Result<()> {
        if let Some(ref _destinationRules) = &self.destinationRules {
            if let Some(ref destinationRuleHostRegex) = &region.destinationRuleHostRegex {
                for dr in _destinationRules {
                    dr.verify(destinationRuleHostRegex)?;
                }
            } else {
                bail!("Cannot use `destinationRules` in a region without a `destinationRuleHostRegex`")
            }
        }
        Ok(())
    }
pub fn verify_destination_rules ( & self , region : & Region ) -> Result < ( ) > { if let Some ( ref _destinationRules ) = & self . destinationRules { if let Some ( ref destinationRuleHostRegex ) = & region . destinationRuleHostRegex { for dr in _destinationRules { dr . verify ( destinationRuleHostRegex ) ? ; } } else { bail ! ( " " ) } } Ok ( ( ) ) }
Verifies the "destinationRules" manifest entries if they are configured
It is erroneous to define destination rules without configuring the corresponding region's
destination rules host regular expression
Verifies the " destinationRules " manifest entries if they are configured It is erroneous to define destination rules without configuring the corresponding region ' s destination rules host regular expression
&self
region
&Region
&self
region
&Region