pub unsafe extern "C" fn XGBoosterSetAttr(
    handle: BoosterHandle,
    key: *const c_char,
    value: *const c_char
) -> c_int
Expand description

\brief Set or delete string attribute.

\param handle handle \param key The key of the attribute. \param value The value to be saved. If nullptr, the attribute would be deleted. \return 0 when success, -1 when failure happens