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