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