pub fn is_too_many_cache_behaviors(&self) -> bool {
        matches!(
            &self.kind,
            CreateDistributionErrorKind::TooManyCacheBehaviors(_)
        )
    }
/// Returns `true` if the error kind is `CreateDistributionErrorKind::TooManyCacheBehaviors`.
Returns `true` if the error kind is `CreateDistributionErrorKind::TooManyCacheBehaviors`.
Returns ` true ` if the error kind is ` CreateDistributionErrorKind :: TooManyCacheBehaviors ` .
pub fn is_too_many_cache_behaviors(&self) -> bool {
        matches!(
            &self.kind,
            CreateDistributionErrorKind::TooManyCacheBehaviors(_)
        )
    }
pub fn is_too_many_cache_behaviors ( & self ) -> bool { matches ! ( self kind CreateDistributionErrorKind TooManyCacheBehaviors ( ) ) }
Returns `true` if the error kind is `CreateDistributionErrorKind::TooManyCacheBehaviors`.
Returns ` true ` if the error kind is ` CreateDistributionErrorKind :: TooManyCacheBehaviors ` .
&self
&self