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