diff --git a/README.md b/README.md
index 062e3d9e..20baebf8 100644
--- a/README.md
+++ b/README.md
@@ -197,14 +197,11 @@ The driver inherits almost all the features of C/C++ and Rust drivers, such as:
cass_user_type_set_custom[by_name] |
- Unimplemented because of the same reasons as binding for statements. Note: The driver does not check whether the type of the value being set for a field of the UDT is compatible with the field's actual type. |
+ Unimplemented because of the same reasons as binding for statements. Note: The driver does not check whether the type of the value being set for a field of the UDT is compatible with the field's actual type. |
cass_user_type_set_decimal[by_name] |
-
- cass_user_type_set_duration[by_name] |
-
Value |
diff --git a/scylla-rust-wrapper/src/user_type.rs b/scylla-rust-wrapper/src/user_type.rs
index 53b16a12..4a651f85 100644
--- a/scylla-rust-wrapper/src/user_type.rs
+++ b/scylla-rust-wrapper/src/user_type.rs
@@ -181,6 +181,12 @@ make_binders!(
cass_user_type_set_inet_by_name,
cass_user_type_set_inet_by_name_n
);
+make_binders!(
+ duration,
+ cass_user_type_set_duration,
+ cass_user_type_set_duration_by_name,
+ cass_user_type_set_duration_by_name_n
+);
make_binders!(
collection,
cass_user_type_set_collection,
diff --git a/src/testing_unimplemented.cpp b/src/testing_unimplemented.cpp
index 14ac8124..353f6beb 100644
--- a/src/testing_unimplemented.cpp
+++ b/src/testing_unimplemented.cpp
@@ -456,14 +456,6 @@ cass_user_type_set_decimal_by_name(CassUserType* user_type,
throw std::runtime_error("UNIMPLEMENTED cass_user_type_set_decimal_by_name\n");
}
CASS_EXPORT CassError
-cass_user_type_set_duration_by_name(CassUserType* user_type,
- const char* name,
- cass_int32_t months,
- cass_int32_t days,
- cass_int64_t nanos){
- throw std::runtime_error("UNIMPLEMENTED cass_user_type_set_duration_by_name\n");
-}
-CASS_EXPORT CassError
cass_value_get_decimal(const CassValue* value,
const cass_byte_t** varint,
size_t* varint_size,