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