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