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