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